Change makefile to build with just 'make'

This commit is contained in:
c_oflynn 2008-10-15 20:52:03 +00:00
parent f301f9d118
commit 778f51f445
2 changed files with 18 additions and 7 deletions

View file

@ -1,8 +1,9 @@
all: webserver6 all:
APPS=raven-webserver raven-lcd-interface make -f Makefile.webserver TARGET=avr-raven webserver6.elf
TARGET=avr-raven avr-objcopy -O ihex -R .eeprom webserver6.elf webserver6.hex
avr-size -C webserver6.elf
UIP_CONF_IPV6=1 clean:
make -f Makefile.webserver TARGET=avr-raven clean
CONTIKI = ../.. rm symbols.c symbols.h webserver6.elf webserver6.hex
include $(CONTIKI)/Makefile.include rm -rf obj_avr-raven

View file

@ -0,0 +1,10 @@
all: webserver6
APPS=raven-webserver raven-lcd-interface
TARGET=avr-raven
UIP_CONF_IPV6=1
CONTIKI = ../..
include $(CONTIKI)/Makefile.include