2011-03-16 17:41:03 +01:00
|
|
|
all: z1-websense
|
2011-03-08 09:27:38 +01:00
|
|
|
|
2016-02-12 19:10:02 +01:00
|
|
|
CONTIKI = ../../../../..
|
2011-03-08 09:27:38 +01:00
|
|
|
|
2016-02-12 19:10:02 +01:00
|
|
|
SMALL = 1
|
2012-05-09 10:44:41 +02:00
|
|
|
|
2011-03-08 09:27:38 +01:00
|
|
|
APPS += webserver webbrowser
|
|
|
|
|
2011-09-05 11:46:15 +02:00
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
2011-03-08 09:27:38 +01:00
|
|
|
CONTIKI_SOURCEFILES += wget.c
|
2016-02-12 19:10:02 +01:00
|
|
|
PROJECTDIRS += ../../../../ipv6/rpl-border-router
|
2011-03-08 09:27:38 +01:00
|
|
|
PROJECT_SOURCEFILES += httpd-simple.c
|
|
|
|
|
2014-11-12 10:18:29 +01:00
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2011-03-08 09:27:38 +01:00
|
|
|
include $(CONTIKI)/Makefile.include
|
|
|
|
|
|
|
|
$(CONTIKI)/tools/tunslip6: $(CONTIKI)/tools/tunslip6.c
|
|
|
|
(cd $(CONTIKI)/tools && $(MAKE) tunslip6)
|
|
|
|
|
|
|
|
connect-router: $(CONTIKI)/tools/tunslip6
|
2015-09-30 16:06:58 +02:00
|
|
|
sudo $(CONTIKI)/tools/tunslip6 fd00::1/64
|
2011-03-08 09:27:38 +01:00
|
|
|
|
|
|
|
connect-router-cooja: $(CONTIKI)/tools/tunslip6
|
2015-09-30 16:06:58 +02:00
|
|
|
sudo $(CONTIKI)/tools/tunslip6 -a 127.0.0.1 fd00::1/64
|
2011-03-08 10:05:47 +01: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
|