mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
8082ddac41
The email and ftp programs aren't relevant anymore so support for them was removed from the cc65 builds. The explicit 80 column programs were added. The 80 colum web browser and Telnet server are built for all cc65 platforms as they are the largest and as such show best code increase issues.
26 lines
720 B
Makefile
26 lines
720 B
Makefile
all:
|
|
@rm -f *.output
|
|
@echo Compiling on:
|
|
@uname -a
|
|
@$(MAKE) -s -k compile || cat *.output
|
|
|
|
compile: 6502 msp430 native avr arm
|
|
|
|
6502: c64.platform c128.platform apple2enh.platform atarixl.platform
|
|
msp430: sky.platform esb.platform z1.platform
|
|
native: native.platform minimal-net.platform
|
|
avr: avr-raven.platform
|
|
arm: redbee-econotag.platform redbee-dev.platform
|
|
|
|
clean:
|
|
@rm -rf [a-z]*
|
|
|
|
%.platform:
|
|
@mkdir -p $*
|
|
@cp *.c $*
|
|
@cp Makefile.platform $*/Makefile
|
|
@((echo; echo ------------------- $* -------------------; \
|
|
cd $* ; ($(MAKE) TARGET=$* > /dev/null 2>&1 ) ; \
|
|
$(MAKE) TARGET=$*) > $*.output 2>&1 && echo "$* succeeded") || \
|
|
(echo; echo "$* failed"; exit 1)
|