forked from len0rd/rockbox
nwztools/plattools: improve makefile to build images automatically
Change-Id: Ibf17fe523c6ef534368d6f94f43fce5ac0c91caf
This commit is contained in:
parent
e7d952db07
commit
06502772a8
1 changed files with 6 additions and 0 deletions
|
|
@ -12,6 +12,12 @@ ALL_ELF=$(patsubst %.c,%.elf,$(TOOL_FILES)) all_tools.elf dualboot.elf
|
|||
|
||||
all: $(ALL_ELF)
|
||||
|
||||
# image dependency
|
||||
data/rockbox_icon.h data/tools_icon.h:
|
||||
make -C data
|
||||
|
||||
dualboot.elf: data/rockbox_icon.h data/tools_icon.h
|
||||
|
||||
%.elf: %.c $(LIB_FILES)
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $^
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue