Removed redundant targets

This commit is contained in:
adamdunkels 2008-05-29 20:30:44 +00:00
parent cbca96c545
commit 199a14150b
3 changed files with 6 additions and 20 deletions

View file

@ -1,4 +1,5 @@
CONTIKI_PROJECT = telnet-webserver
DEFAULT_TARGET=sky
all: $(CONTIKI_PROJECT)
APPS = telnetd webserver

View file

@ -4,14 +4,6 @@ all: $(CONTIKI_PROJECT)
APPS = shell
CONTIKI = ../..
ifdef MOTE
login:
$(SERIALDUMP) -b115200 /dev/com$(word $(MOTE), $(CMOTES))
else
login:
$(SERIALDUMP) -b115200 /dev/com$(firstword $(CMOTES))
endif
%.shell-upload: %.ce
(echo; sleep 4; echo "~K"; sleep 4; \
echo "dec64 | write file | null"; sleep 4; \
@ -107,11 +99,3 @@ collect-energy:
echo 'collect | timestamp | write file | hd &') | make login
include $(CONTIKI)/Makefile.include
sizeplot:
msp430-size $(OBJECTDIR)/*.o | $(CONTIKI)/tools/sky/check-size > size-data && \
gnuplot $(CONTIKI)/tools/sky/plot-size && gv size.pdf
sizeacro:
msp430-size $(OBJECTDIR)/*.o | $(CONTIKI)/tools/sky/check-size > size-data && \
gnuplot $(CONTIKI)/tools/sky/plot-size && rundll32 url.dll,FileProtocolHandler size.pdf

View file

@ -3,11 +3,12 @@ ifndef TARGET
TARGET=sky
endif
#APPS=rudolph
all: blink sky-collect #rt-leds test-button test-cfs tcprudolph0
serialdump:
$(SERIALDUMP) -b115200 /dev/com$(firstword $(CMOTES)) | $(CONTIKI)/tools/timestamp | tee serialdump-`date +%Y%m%d-%H%M`
%.tgz: %.ihex
mkdir $(basename $<) ; \
mv $< $(basename $<) ; \
echo $(basename $<)/$(basename $<).ihex 600 > $(basename $<)/runfile ; \
tar czf $@ $(basename $<)
include $(CONTIKI)/Makefile.include