help-make
[Top][All Lists]
Advanced

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

More information


From: Anoneironaut
Subject: More information
Date: Tue, 25 Jul 2006 08:31:35 -0700 (PDT)

I am using gnumake version 3.80.  My operating system is Windows XP.

Here is the full error text:

Makefile:97: *** multiple target patterns.  Stop.

Here is the full makefile:

# Tools
TOOLKIT_DIR = C:/IAR/EW23/h8
PRODUCT_DIR = C:/ec2000se
PROJ_DIR = $(PRODUCT_DIR)/Sita
TOOLS = $(TOOLKIT_DIR)/bin
COMP = $(TOOLS)/icch8
ASM = $(TOOLS)/ah8
LNK = $(TOOLS)/xlink

#Directories
OBJDIR = ./Obj
EXEDIR = ./Exe

#########
# Flags #
#########

CFLAGS = -v3 -mh -O$(PROJ_DIR)/App/Obj/ \
         -I$(TOOLKIT_DIR)/inc/ \
         -I$(PROJ_DIR)/Sita/inc/ \
         -I$(PROJ_DIR)/app/general/ \
         -RCODE -s8 -um0 -e -K -gA -r0e \
         -I$(PROJ_DIR)/app/ \
         -I$(PROJ_DIR)/app/support/ \
         -I$(PROJ_DIR)/app/graphics/ \
         -I$(PROJ_DIR)/app/network/ \
         -I$(PRODUCT_DIR)/rtxc/ \
         -I$(PRODUCT_DIR)/bootblk/flash/

AFLAGS = -v3 -mh -O$(PROJ_DIR)/App/Obj/ -s+ -w+ -M<> -r \
           -I$(TOOLKIT_DIR)/inc/        \
           -I$(PROJ_DIR)/APP/GENERAL/ \
           -I$(PROJ_DIR)/app/graphics/ \
           -I$(PROJ_DIR)/app/support/ \
           -I$(PRODUCT_DIR)/RTXC/

XFLAGS = -o $(PROJ_DIR)/App/Exe/test.d37 -Fdebug-motorola -z -l \
           $(PROJ_DIR)/App/List/test.map -xms \
           -I$(TOOLKIT_DIR)/LIB/ \
           -f $(PROJ_DIR)/App/app.xcl

HEAPFLAGS = -v3 -mh -O$(PROJ_DIR)/App/Obj/ -RCODE -s9 -um0 -e -K -gA \
            -I$(TOOLKIT_DIR)/inc/ -I$(TOOLKIT_DIR)/etc/ -I$(PROJ_DIR)/app/ \
            -I$(PROJ_DIR)/app/rtxc/ -I$(PROJ_DIR)/app/general/
-I$(PROJ_DIR)/app/support/ \
            -I$(PROJ_DIR)/app/graphics/ -I$(PROJ_DIR)/bootblk/flash/

######################
# OBJECT FILES BEGIN #
######################

# APP files
APPR37 = aeacmd.r37 aeadisp.r37 aeamisc.r37 aeapec.r37 aeaprog.r37 \
         aearesp.r37 aeatrans.r37 BCSCAN.r37 comm.r37 config.r37 \
         context.r37 host.r37 main.r37 mainmenu.r37 sitacmd.r37 \
         system.r37

# General Files
GENR37 = cmbox.r37 cpart.r37 cproject.r37 cqueue.r37 cres.r37 \
         csema.r37 ctask.r37 genalloc.r37 HEAP.r37 list.r37 \
         util.r37 vectors.r37

# Graphics Files
GRPHR37 = recprn.r37

# Support Files
SPRTR37 = eeprom.r37 encode.r37 fileio.r37 flashfil.r37 keys.r37 \
          keys.r37 lcd.r37 led.r37 menu.r37 panel.r37 rs232.r37 \
          sensors.r37 usb.r37

R37FILES = $(APPR37) $(GENR37) $(GRPHR37) $(SPRTR37)

####################
# OBJECT FILES END #
####################

VPATH = ./General:./Graphics:./Support

# General Rules for making
%.r37:%.c
        $(COMP) $(CFLAGS) $<

%.r37:%.C
        $(COMP) $(CFLAGS) $<

Test.d37: $(R37FILES)
          $(LNK) $(XFLAGS) $(R37FILES)

# Special Makes

Heap.r37 : Heap.c
         $(COMP) $(HEAPFLAGS) Heap.c   <======= LINE 97

clean:
        del $(obj)/*.r37

I will try to reproduce this problem with a simple example.

-Anon
-- 
View this message in context: 
http://www.nabble.com/Multiple-files-different-flags-needed-tf1998767.html#a5487618
Sent from the Gnu - Make - Help forum at Nabble.com.





reply via email to

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