hi!
  I want to compile source files by using gnumake 3.79.3. The paths are set correctly 
and exist. the sources files locate in right directories and all necessary compilers 
can be found in path environment. config.mk and Makefile are created by configure 
script.

the Makefile including:

FSRCS =                 \
        cmdline.F

CSRCS =                 \
        fstr.c          \
        getarg.c        \
        groutines.c     \
        hash.c          \
        misc.c
#       get_text.c      \

SRCS = $(FSRCS) $(CSRCS)
PREPROCSRCS = 
HDRS =                  \
        groutines.h     \
        hash.h          \
        libcxrl.h

OBJS =                  \
        cmdline$(objext)        \
        fstr$(objext)           \
        getarg$(objext) \
        groutines$(objext)      \
        hash$(objext)           \
        misc$(objext)
#       get_text$(objext)       \


and config.mk including:
FC=g77
USING_G77=yes

%.obj: %.F
        $(FC) -o $@ -c $(ALL_CPPFLAGS) $(ALL_FFLAGS) $<


But I encounter the following error, and it always appears to all source files, no 
source files can be compiled.

---------error message------------
make[6]: Entering directory `/shadow-2.3.0/i386/src/tools/io'
make[6]: *** No rule to make target `cmdline.obj', needed by `libtoolset.a'.  Stop.
make[6]: Leaving directory `/shadow-2.3.0/i386/src/tools/io'
--------end message--------------------------

System:

Win98, cygwin32 b19.1,egcs-2.91.57,gnumake 3.79.3



Thank for your help.

Dr.Xiaojiang YU

Config.mk

Makefile

Reply via email to