src/Makefile.in
changeset 234 5a17bcb520ef
parent 191 1e6e3d261b8f
child 284 24bf3d692993
equal deleted inserted replaced
233:6f2936f7fb3f 234:5a17bcb520ef
    35 
    35 
    36 OBJS = $(TARGET)_objacces.o $(TARGET)_lifegrd.o $(TARGET)_sdo.o\
    36 OBJS = $(TARGET)_objacces.o $(TARGET)_lifegrd.o $(TARGET)_sdo.o\
    37 	    $(TARGET)_pdo.o $(TARGET)_sync.o $(TARGET)_nmtSlave.o $(TARGET)_nmtMaster.o $(TARGET)_states.o $(TARGET)_timer.o $(TARGET)_dcf.o
    37 	    $(TARGET)_pdo.o $(TARGET)_sync.o $(TARGET)_nmtSlave.o $(TARGET)_nmtMaster.o $(TARGET)_states.o $(TARGET)_timer.o $(TARGET)_dcf.o
    38 
    38 
    39 # # # # Target specific paramters # # # #
    39 # # # # Target specific paramters # # # #
    40 
       
    41 ifeq ($(TARGET),ecos_lpc2138_sja1000)
       
    42 ECOS_GLOBAL_CFLAGS=-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Os -ffunction-sections -fdata-sections -fno-exceptions -finline-functions
       
    43 ECOS_GLOBAL_LDFLAGS=-mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -nostdlib
       
    44 endif
       
    45 
    40 
    46 ifeq ($(TARGET),hcs12)
    41 ifeq ($(TARGET),hcs12)
    47 OPT_CFLAGS = -Os
    42 OPT_CFLAGS = -Os
    48 PROGDEFINES = -mnoshort -Wall -Wmissing-prototypes -fno-strict-aliasing
    43 PROGDEFINES = -mnoshort -Wall -Wmissing-prototypes -fno-strict-aliasing
    49 endif
    44 endif