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
|
2018-05-26 14:26:20 +00:00
|
|
|
SERIAL_IO_TOOL_DIR = $(TOOLS_DIR)/serial-io
|
2018-05-12 16:34:29 +00:00
|
|
|
|
2018-05-26 14:26:20 +00:00
|
|
|
SERIAL_IO_TOOL_DEPS = $(addprefix $(SERIAL_IO_TOOL_DIR)/, tools-utils.c tools-utils.h)
|
2018-05-12 16:34:29 +00:00
|
|
|
|
2018-05-26 14:26:20 +00:00
|
|
|
TUNSLIP6 = $(SERIAL_IO_TOOL_DIR)/tunslip6
|
|
|
|
SERIAL_DUMP_BIN = $(SERIAL_IO_TOOL_DIR)/serialdump
|
2018-05-12 16:34:29 +00:00
|
|
|
|
2018-05-26 14:26:20 +00:00
|
|
|
$(SERIAL_DUMP_BIN): $(SERIAL_IO_TOOL_DIR)/serialdump.c $(SERIAL_IO_TOOL_DEPS)
|
2018-05-27 18:21:08 +00:00
|
|
|
$(MAKE) -C $(SERIAL_IO_TOOL_DIR) serialdump
|
2018-05-26 14:26:20 +00:00
|
|
|
|
|
|
|
$(TUNSLIP6): $(SERIAL_IO_TOOL_DIR)/tunslip6.c $(SERIAL_IO_TOOL_DEPS)
|
2018-05-27 18:21:08 +00:00
|
|
|
$(MAKE) -C $(SERIAL_IO_TOOL_DIR) tunslip6
|