182bd371987ed62107bbadeff2f12b736de99996
[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 prefix       = @prefix@
15 exec_prefix  = @exec_prefix@
16 INCLUDES     = -I@includedir@ @INCLUDES@
17 LIBS         = -L@libdir@ -lmdXXX_SUFFIX_XXX -lgmxXXX_SUFFIX_XXX @LIBS@
18 LDFLAGS      = @LDFLAGS@
19 CFLAGS       = @CFLAGS@ $(INCLUDES)
20 CPPFLAGS     = @CPPFLAGS@
21 CC           = @CC@
22 LD           = $(CC)
23
24 # The real make targets - note that most make programs support
25 # the shortcut $^ instead of listing all object files a second
26 # time, but we cannot count on it...
27
28 template:       template.o
29                 $(LD) $(LDFLAGS) -o $@ template.o $(LIBS)