1 include $(MAGPIE_ROOT)/build/make_opt/Makefile.h
5 # Sub-system source main path
9 #export LAYERNAME = rom
14 # Sub-system source main path
17 export SSMPATH = $(PRJ_ROOT)/$(TARGET)/$(SSNAME)
21 # Sub-system object search path for GNU tool chain
25 #export SSOBJPATH = $(PRJ_ROOT)/$(TARGET)/$(SSNAME)/obj
29 # Sub-system/module list at this layer
33 DIRS = allocram clock eeprom intr mem misc printf rompatch string tasklet timer wdt uart sflash
37 # Archive for this package
41 export L_TARGET = $(LIB_PATH)/libcmnos.a
49 # for i in $(SUBDIRS) ; do $(MAKE) -C $$i -f Makefile.ss all || exit $?; done
50 for i in $(DIRS) ; do $(MAKE) -C $$i all || exit $? ; done
51 # ar -rcs $(L_TARGET) `find . -name "*.o"`
55 for i in $(DIRS) ; do $(MAKE) -C $$i dep || exit $? ; done
58 for i in $(DIRS) ; do $(MAKE) -C $$i clean; done
61 for i in $(DIRS) ; do $(MAKE) -C $$i init; done