LIBS = -lmd_mpi_d -lgmx_mpi_d -lnsl -lfftw3f -lm -lXm -lXt -lSM -lICE -lXext -lXp -lX11 LDFLAGS = CFLAGS = -O3 -g -pipe -fexceptions -m64 -Wall -I/usr/include/gromacs CC = mpicc LD = $(CC) # The real make targets - note that most make programs support # the shortcut $^ instead of listing all object files a second # time, but we cannot count on it... template: template.o $(LD) $(LDFLAGS) -o $@ template.o $(LIBS)