Change makefile to build with just 'make'
This commit is contained in:
parent
f301f9d118
commit
778f51f445
2 changed files with 18 additions and 7 deletions
|
@ -1,8 +1,9 @@
|
|||
all: webserver6
|
||||
APPS=raven-webserver raven-lcd-interface
|
||||
TARGET=avr-raven
|
||||
all:
|
||||
make -f Makefile.webserver TARGET=avr-raven webserver6.elf
|
||||
avr-objcopy -O ihex -R .eeprom webserver6.elf webserver6.hex
|
||||
avr-size -C webserver6.elf
|
||||
|
||||
UIP_CONF_IPV6=1
|
||||
|
||||
CONTIKI = ../..
|
||||
include $(CONTIKI)/Makefile.include
|
||||
clean:
|
||||
make -f Makefile.webserver TARGET=avr-raven clean
|
||||
rm symbols.c symbols.h webserver6.elf webserver6.hex
|
||||
rm -rf obj_avr-raven
|
||||
|
|
10
examples/webserver-ipv6-raven/Makefile.webserver
Normal file
10
examples/webserver-ipv6-raven/Makefile.webserver
Normal 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
|
Loading…
Reference in a new issue