2018-05-26 12:59:12 +00:00
|
|
|
# Some make rules in the main build system depend on the presence of utilities
|
|
|
|
# under the tools/ dir. For those dependencies, we use this makefile here to
|
|
|
|
# recursively invoke the respective build under tools/.
|
|
|
|
|
2018-05-12 16:34:29 +00:00
|
|
|
TOOLS_DIR = $(CONTIKI)/tools
|
|
|
|
TOOL_DEPS = $(TOOLS_DIR)/tools-utils.c $(TOOLS_DIR)/tools-utils.h
|
|
|
|
|
|
|
|
TUNSLIP6 = $(TOOLS_DIR)/tunslip6
|
|
|
|
SERIAL_DUMP_BIN = $(TOOLS_DIR)/serialdump
|
|
|
|
|
|
|
|
$(SERIAL_DUMP_BIN): $(TOOLS_DIR)/serialdump.c $(TOOL_DEPS)
|
|
|
|
make -C $(TOOLS_DIR) serialdump
|
|
|
|
|
|
|
|
$(TUNSLIP6): $(TOOLS_DIR)/tunslip6.c $(TOOL_DEPS)
|
|
|
|
make -C $(TOOLS_DIR) tunslip6
|