Migrated to the latest automake & libtool releases/prereleases, with all
[alexxy/gromacs.git] / share / template / Template.mak
1 # Generated automatically from Makefile.in by configure.
2 #
3 # This is a Gromacs 3.0 template makefile for your own utility programs.
4 #
5 # Copy this file to whatever directory you are using for your own
6 # software and add more targets like the template one below.
7 #
8 # If you are using gmake it is relatively straightforward to add
9 # an include based on environment variables (like previous Gromacs versions)
10 # to select compiler flags and stuff automatically, but below it is static:
11 #
12
13 # Variables set by the configuration script:
14 LIBS         = @LIBS@
15 LDFLAGS      = @LDFLAGS@
16 CFLAGS       = @CFLAGS@ 
17 CC           = @CC@
18 LD           = $(CC)
19
20 # The real make targets - note that most make programs support
21 # the shortcut $^ instead of listing all object files a second
22 # time, but we cannot count on it...
23
24 template:       template.o
25                 $(LD) $(LDFLAGS) -o $@ template.o $(LIBS)