nes-proj/Makefile.tools

16 lines
559 B
Makefile
Raw Normal View History

# 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/.
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