summaryrefslogtreecommitdiff
path: root/utils/nwztools/plattools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/plattools/Makefile')
-rw-r--r--utils/nwztools/plattools/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/nwztools/plattools/Makefile b/utils/nwztools/plattools/Makefile
index 8251afaf0a..f4e88cd778 100644
--- a/utils/nwztools/plattools/Makefile
+++ b/utils/nwztools/plattools/Makefile
@@ -7,7 +7,7 @@ INCLUDES=-I.
7LIB_FILES=nwz_lib.c nwz_lib_devlist.c 7LIB_FILES=nwz_lib.c nwz_lib_devlist.c
8TOOL_FILES=dest_tool.c test_adc.c test_adc.c test_bl.c test_display.c \ 8TOOL_FILES=dest_tool.c test_adc.c test_adc.c test_bl.c test_display.c \
9 test_keys.c test_power.c test_ts.c 9 test_keys.c test_power.c test_ts.c
10ALL_ELF=$(patsubst %.c,%.elf,$(TOOL_FILES)) all_tools.elf 10ALL_ELF=$(patsubst %.c,%.elf,$(TOOL_FILES)) all_tools.elf dualboot.elf
11 11
12all: $(ALL_ELF) 12all: $(ALL_ELF)
13 13
@@ -17,5 +17,8 @@ all: $(ALL_ELF)
17all_tools.elf: all_tools.c $(TOOL_FILES) $(LIB_FILES) 17all_tools.elf: all_tools.c $(TOOL_FILES) $(LIB_FILES)
18 $(CC) $(CFLAGS) -DNWZ_EMBED_TOOLS $(INCLUDES) -o $@ $^ 18 $(CC) $(CFLAGS) -DNWZ_EMBED_TOOLS $(INCLUDES) -o $@ $^
19 19
20dualboot.elf: dualboot.c all_tools.c $(TOOL_FILES) $(LIB_FILES)
21 $(CC) $(CFLAGS) -DNWZ_DUALBOOT -DNWZ_EMBED_TOOLS $(INCLUDES) -o $@ $^
22
20clean: 23clean:
21 rm -rf $(ALL_ELF) 24 rm -rf $(ALL_ELF)