Makefile that produces a bunch of .ihex files for burning node IDs into Tmote Sky nodes
This commit is contained in:
parent
09a9f0d00a
commit
b96f9cb553
1 changed files with 15 additions and 0 deletions
15
examples/energest-demo/nodeid/Makefile
Normal file
15
examples/energest-demo/nodeid/Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
burn-nodeid-%.ihex:
|
||||
$(MAKE) nodeid=$* burn-nodeid.ihex && mv burn-nodeid.ihex $@
|
||||
|
||||
burn-nodeids: $(foreach NODEID, 41 42 43 44 45 46 47 48, burn-nodeid-$(NODEID).ihex)
|
||||
|
||||
ifndef CONTIKI
|
||||
CONTIKI = ../../..
|
||||
endif
|
||||
|
||||
ifndef TARGET
|
||||
TARGET=sky
|
||||
endif
|
||||
|
||||
include $(CONTIKI)/Makefile.include
|
Loading…
Reference in a new issue