Prepared for automatic cc65 compilation
This commit is contained in:
parent
76e03317c7
commit
96c47c8ef8
2 changed files with 5 additions and 3 deletions
|
@ -6,6 +6,7 @@ all:
|
||||||
|
|
||||||
compile: msp430 native
|
compile: msp430 native
|
||||||
|
|
||||||
|
6502: c64.platform apple2enh.platform
|
||||||
msp430: sky.platform esb.platform # msb430.platform
|
msp430: sky.platform esb.platform # msb430.platform
|
||||||
native: native.platform netsim.platform minimal-net.platform
|
native: native.platform netsim.platform minimal-net.platform
|
||||||
|
|
||||||
|
@ -14,6 +15,6 @@ native: native.platform netsim.platform minimal-net.platform
|
||||||
@cp *.c $*
|
@cp *.c $*
|
||||||
@cp Makefile.platform $*/Makefile
|
@cp Makefile.platform $*/Makefile
|
||||||
@((echo; echo ------------------- $* -------------------; \
|
@((echo; echo ------------------- $* -------------------; \
|
||||||
cd $* ; ($(MAKE) TARGET=$* >& /dev/null) ; \
|
cd $* ; ($(MAKE) TARGET=$* > /dev/null 2>&1 ) ; \
|
||||||
$(MAKE) TARGET=$*) >& $*.output && echo "$* succeeded") || \
|
$(MAKE) TARGET=$*) > $*.output 2>&1 && echo "$* succeeded") || \
|
||||||
(echo; echo "$* failed"; exit 1)
|
(echo; echo "$* failed"; exit 1)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
all: print-version hello-world
|
all: print-version hello-world
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../..
|
||||||
|
APPS=serial-shell webserver telnetd
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
print-version:
|
print-version:
|
||||||
@$(CC) --version
|
@$(CC) --version || echo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue