contiki/examples/webserver-ipv6/Makefile

33 lines
685 B
Makefile
Raw Normal View History

2011-07-24 15:59:28 +00:00
all: webserver6 $(WITH_WEBSERVER)
ifeq ($(WITH_WEBSERVER),)
#
#Set default webserver for different platforms
#Although Makefile.include sets the default target, we need to know it now.
#
ifeq ($(TARGET),)
-include Makefile.target
endif
ifeq ($(TARGET),sky)
WITH_WEBSERVER=webserver-nano
else ifeq ($(TARGET),avr-raven)
WITH_WEBSERVER=raven-webserver
endif
#
endif
ifneq ($(WITH_WEBSERVER),)
APPS = $(WITH_WEBSERVER)
#copy output to e.g. webserver-nano.sky, raven-webserver.avr-raven
$(WITH_WEBSERVER) : webserver6
cp webserver6.$(TARGET) $(WITH_WEBSERVER).$(TARGET)
else
2008-10-14 16:50:11 +00:00
APPS=webserver
2011-07-24 15:59:28 +00:00
endif
2008-10-14 10:01:52 +00:00
2008-10-14 16:50:11 +00:00
UIP_CONF_IPV6=1
DEFINES=WITH_UIP6
2008-10-14 16:50:11 +00:00
CONTIKI = ../..
include $(CONTIKI)/Makefile.include