Dear Chris

I did all of steps again. this tims when compile Makefile.my_tool by both of
make and gmake:

make: *** No rule to make target `my_tool.o', needed by `my_tool'.  Stop.

my Makefile.my_tool is as follows:

# Generated automatically from Makefile.in by configure.
#
# This is a Gromacs 3.0 my_tool makefile for your own utility programs.
#
# Copy this file to whatever directory you are using for your own
# software and add more targets like the my_tool one below.
#
# If you are using gmake it is relatively straightforward to add
# an include based on environment variables (like previous Gromacs versions)
# to select compiler flags and stuff automatically, but below it is static:
#

# Variables set by the configuration script:
LIBS         = -lmd -lgmx -lxml2  -L/usr/lib64 -lnsl -lfftw3f -lm   -lSM
-lICE -lX11
LDFLAGS      = -L/usr/local/gromacs/lib
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
CC           = cc
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...

my_tool:    my_tool.o
        $(LD) $(LDFLAGS) -o $@ my_tool.o $(LIBS)
-- 
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to