Dear Chris<br><br>I did all of steps again. this tims when compile Makefile.my_tool by both of make and gmake:<br><br>make: *** No rule to make target `my_tool.o&#39;, needed by `my_tool&#39;.  Stop.<br><br>my Makefile.my_tool is as follows:<br>
<br># Generated automatically from Makefile.in by configure.<br>#<br># This is a Gromacs 3.0 my_tool makefile for your own utility programs.<br>#<br># Copy this file to whatever directory you are using for your own<br># software and add more targets like the my_tool one below.<br>
#<br># If you are using gmake it is relatively straightforward to add<br># an include based on environment variables (like previous Gromacs versions)<br># to select compiler flags and stuff automatically, but below it is static:<br>
#<br><br># Variables set by the configuration script:<br>LIBS         = -lmd -lgmx -lxml2  -L/usr/lib64 -lnsl -lfftw3f -lm   -lSM -lICE -lX11   <br>LDFLAGS      = -L/usr/local/gromacs/lib   <br>CFLAGS         = -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -funroll-all-loops   -I/usr/include/libxml2 -I/usr/local/gromacs/include -I/usr/local/gromacs/include/gromacs    <br>
CC           = cc<br>LD           = $(CC)<br><br># The real make targets - note that most make programs support<br># the shortcut $^ instead of listing all object files a second<br># time, but we cannot count on it...<br>
<br>my_tool:    my_tool.o<br>        $(LD) $(LDFLAGS) -o $@ my_tool.o $(LIBS)<br><br clear="all"><br><br>