diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-11-12 22:28:53 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-11-20 21:36:54 +0100 |
commit | 06502772a85f5ab5a25d7491de909d819ce43d50 (patch) | |
tree | 4b389115ef13c0b31c916c572fb4ab7498786393 | |
parent | e7d952db073f15fff6e654189a90bbc5cc1b726f (diff) | |
download | rockbox-06502772a85f5ab5a25d7491de909d819ce43d50.tar.gz rockbox-06502772a85f5ab5a25d7491de909d819ce43d50.zip |
nwztools/plattools: improve makefile to build images automatically
Change-Id: Ibf17fe523c6ef534368d6f94f43fce5ac0c91caf
-rw-r--r-- | utils/nwztools/plattools/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/nwztools/plattools/Makefile b/utils/nwztools/plattools/Makefile index 3031bc72b4..71188ba11a 100644 --- a/utils/nwztools/plattools/Makefile +++ b/utils/nwztools/plattools/Makefile | |||
@@ -12,6 +12,12 @@ ALL_ELF=$(patsubst %.c,%.elf,$(TOOL_FILES)) all_tools.elf dualboot.elf | |||
12 | 12 | ||
13 | all: $(ALL_ELF) | 13 | all: $(ALL_ELF) |
14 | 14 | ||
15 | # image dependency | ||
16 | data/rockbox_icon.h data/tools_icon.h: | ||
17 | make -C data | ||
18 | |||
19 | dualboot.elf: data/rockbox_icon.h data/tools_icon.h | ||
20 | |||
15 | %.elf: %.c $(LIB_FILES) | 21 | %.elf: %.c $(LIB_FILES) |
16 | $(CC) $(CFLAGS) $(INCLUDES) -o $@ $^ | 22 | $(CC) $(CFLAGS) $(INCLUDES) -o $@ $^ |
17 | 23 | ||