contiki/tests/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

MC1322X := ..
2010-02-21 22:34:27 +00:00
# all off the common objects for each target
# a COBJ is made for EACH board and goes the obj_$(BOARD)_board directory
# board specific code is OK in these files
COBJS := tests.o put.o
# all of the target programs to build
2010-03-02 15:39:23 +00:00
TARGETS := blink-red blink-green blink-blue blink-white blink-allio \
2010-02-26 22:44:39 +00:00
uart1-loopback \
u1u2-loopback \
2010-02-26 22:44:39 +00:00
tmr tmr-ints \
sleep \
2011-02-27 22:37:37 +00:00
printf \
2011-03-11 20:55:32 +00:00
asm \
adc \
2011-03-22 18:51:08 +00:00
pwm \
2011-05-17 20:26:03 +00:00
wdt \
xtal-trim
2010-02-26 22:44:39 +00:00
# these targets are built with space reserved for variables needed by ROM services
# this space is initialized with a rom call to rom_data_init
TARGETS_WITH_ROM_VARS := nvm-read nvm-write romimg flasher \
rftest-rx rftest-tx \
2012-10-10 21:57:26 +00:00
autoack-rx autoack-tx \
per
2010-02-23 23:27:12 +00:00
##################################################
# you shouldn't need to edit anything below here #
##################################################
# This Makefile includes the default rule at the top
# it needs to be included first
-include $(MC1322X)/Makefile.include
# this rule will become the default_goal if
# $(MC1322X)/Makefile.include doesn't exist it will try to update the
# submodule, check if $(MC1322X) exists, and if it does
# try make again
submodule:
git submodule update --init
if [ ! -d $(MC1322X) ] ; then echo "*** cannot find MC1322X directory $(MC1322X)" ; exit 2; fi
$(MAKE)
2010-03-12 22:00:53 +00:00
.PHONY: submodule
2010-02-21 22:34:27 +00:00
2010-02-23 20:53:00 +00:00
2010-02-23 23:27:12 +00:00