Use $(MAKE)

This commit is contained in:
yenatch 2017-06-29 18:34:29 -04:00
parent 7b3f0693d5
commit 8e87d5abc4

View File

@ -45,13 +45,13 @@ endif
clean:
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
make clean -C tools/
$(MAKE) clean -C tools/
compare: $(roms)
@$(SHA1) -c roms.sha1
tools:
make -C tools/
$(MAKE) -C tools/
%11.o: dep = $(shell tools/scan_includes $(@D)/$*.asm)
%11.o: %.asm $$(dep)