2011-03-16 16:41:03 +00:00
|
|
|
all: z1-websense
|
2011-03-08 08:27:38 +00:00
|
|
|
|
2015-11-12 15:29:41 +00:00
|
|
|
CONTIKI=../../../../..
|
2011-03-08 08:27:38 +00:00
|
|
|
|
2012-05-09 08:44:41 +00:00
|
|
|
SMALL=1
|
|
|
|
|
2011-03-08 08:27:38 +00:00
|
|
|
APPS += webserver webbrowser
|
|
|
|
|
2011-09-05 09:46:15 +00:00
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
2011-03-08 08:27:38 +00:00
|
|
|
CONTIKI_SOURCEFILES += wget.c
|
2011-03-16 16:41:03 +00:00
|
|
|
PROJECTDIRS += ../../../ipv6/rpl-border-router
|
2011-03-08 08:27:38 +00:00
|
|
|
PROJECT_SOURCEFILES += httpd-simple.c
|
|
|
|
|
2014-11-12 09:18:29 +00:00
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2011-03-08 08:27:38 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|
|
|
|
|
|
|
|
$(CONTIKI)/tools/tunslip6: $(CONTIKI)/tools/tunslip6.c
|
|
|
|
(cd $(CONTIKI)/tools && $(MAKE) tunslip6)
|
|
|
|
|
|
|
|
connect-router: $(CONTIKI)/tools/tunslip6
|
|
|
|
sudo $(CONTIKI)/tools/tunslip6 aaaa::1/64
|
|
|
|
|
|
|
|
connect-router-cooja: $(CONTIKI)/tools/tunslip6
|
|
|
|
sudo $(CONTIKI)/tools/tunslip6 -a 127.0.0.1 aaaa::1/64
|
2011-03-08 09:05:47 +00:00
|
|
|
|
|
|
|
CUSTOM_RULE_LINK=1
|
|
|
|
%.$(TARGET): %.co $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) contiki-$(TARGET).a $(LD) $(LDFLAGS) $(TARGET_STARTFILES) ${filter-out %.a,$^} ${filter %.a,$^} $(TARGET_LIBFILES) -o $@ -lm
|