help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help


From: River YU
Subject: help
Date: Fri, 22 Sep 2000 9:27:25 +0800

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

Attachment: Config.mk
Description: Binary data

Attachment: Makefile
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]