summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen10do <Ben10do@users.noreply.github.com>2017-06-09 21:55:09 +0100
committerBen10do <Ben10do@users.noreply.github.com>2017-06-09 21:55:09 +0100
commit202cea9705e20f7aba242fa7863f2a79bd88925c (patch)
treea9c949b68610060832e7d58129e9b05b972cd01d /Makefile
parentfb154f5a6e43a86801fd16f392633c854d099ac4 (diff)
- Make the tools implicitly when making the ROM
- Add a clean target to the tools Makefile - Run said clean target when cleaning the pokecrystal directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 27df84035..eb2e60148 100644
--- a/Makefile
+++ b/Makefile
@@ -29,11 +29,12 @@ crystal11_obj := $(crystal_obj:.o=11.o)
roms := pokecrystal.gbc pokecrystal11.gbc
all: crystal
-crystal: pokecrystal.gbc
-crystal11: pokecrystal11.gbc
+crystal: tools pokecrystal.gbc
+crystal11: tools pokecrystal11.gbc
clean:
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
+ make clean -C tools/
compare: $(roms)
@$(MD5) roms.md5