mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2025-02-17 03:28:17 +00:00
Makefile to build tools.
This commit is contained in:
parent
8b5b7bc032
commit
33d1d5da96
@ -1,7 +1,2 @@
|
||||
#!/bin/sh
|
||||
make -C tools/gbagfx
|
||||
make -C tools/scaninc
|
||||
make -C tools/bin2c
|
||||
make -C tools/aif2pcm
|
||||
make -C tools/mid2agb
|
||||
make -C tools/textencode
|
||||
make -f make_tools.mk
|
||||
|
2
clean_tools.sh
Normal file
2
clean_tools.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
make clean -f make_tools.mk
|
14
make_tools.mk
Normal file
14
make_tools.mk
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
MAKEFLAGS += --no-print-directory
|
||||
|
||||
TOOLDIRS := $(filter-out tools/agbcc,$(wildcard tools/*))
|
||||
|
||||
.PHONY: all $(TOOLDIRS) clean
|
||||
|
||||
all: $(TOOLDIRS)
|
||||
|
||||
$(TOOLDIRS):
|
||||
@$(MAKE) -C $@
|
||||
|
||||
clean:
|
||||
@$(foreach tooldir,$(TOOLDIRS),$(MAKE) clean -C $(tooldir);)
|
Loading…
x
Reference in New Issue
Block a user