mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-28 17:30:20 +00:00
0c0f1ab7ca
use this Makefile as a template for there own projects.
32 lines
770 B
Makefile
32 lines
770 B
Makefile
MC1322X := ..
|
|
|
|
# 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
|
|
TARGETS := blink-red blink-green blink-blue blink-white blink-allio \
|
|
uart1-loopback \
|
|
tmr tmr-ints \
|
|
sleep \
|
|
printf
|
|
|
|
# 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 \
|
|
per
|
|
|
|
submodule:
|
|
git submodule update --init
|
|
$(MAKE)
|
|
|
|
-include $(MC1322X)/Makefile.include
|
|
|
|
|
|
|
|
|
|
|
|
|