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