2017-10-31 22:10:37 +00:00
|
|
|
### Optionally, the target can add its own Makefile, to do things like e.g.
|
|
|
|
### add more source files to the build or define make variables.
|
|
|
|
-include $(SOURCES_DIR)/$(TARGET)/Makefile.$(TARGET)
|
|
|
|
|
|
|
|
PROJECTDIRS += $(SOURCES_DIR)/$(TARGET)
|
|
|
|
|
2017-11-01 14:41:29 +00:00
|
|
|
PROJECT_SOURCEFILES += slip-bridge.c border-router-embedded.c
|
2017-10-31 22:10:37 +00:00
|
|
|
|
|
|
|
$(CONTIKI)/tools/tunslip6: $(CONTIKI)/tools/tunslip6.c
|
|
|
|
(cd $(CONTIKI)/tools && $(MAKE) tunslip6)
|
|
|
|
|
|
|
|
connect-router: $(CONTIKI)/tools/tunslip6
|
|
|
|
sudo $(CONTIKI)/tools/tunslip6 $(PREFIX)
|
|
|
|
|
|
|
|
connect-router-cooja: $(CONTIKI)/tools/tunslip6
|
|
|
|
sudo $(CONTIKI)/tools/tunslip6 -a 127.0.0.1 $(PREFIX)
|