shithub: pokecrystal

Download patch

ref: 82317a7a23e6bb51664f2a6d6db5e6ea43399de8
parent: d4863f3fa583a5c6a293f89180b24cc43adfd44f
author: yenatch <yenatch@gmail.com>
date: Mon Apr 13 18:34:41 EDT 2015

Preemptively get rid of graphics queues while they're still not used.

Nip this in the bud, so it doesn't turn out like pokered. When the time comes, use make -j16 for faster builds.

--- a/Makefile
+++ b/Makefile
@@ -62,9 +62,6 @@
 
 %.asm: ;
 $(all_obj): $$*.asm $$($$*_dep)
-	@$(gfx) 2bpp $(2bppq); $(eval 2bppq :=)
-	@$(gfx) 1bpp $(1bppq); $(eval 1bppq :=)
-	@$(gfx) lz   $(lzq);   $(eval lzq   :=)
 	rgbasm -o $@ $<
 
 pokecrystal11.gbc: $(crystal11_obj)
@@ -82,9 +79,9 @@
 	find . -iname "*.lz"      -exec touch {} +
 	find . -iname "*.[12]bpp" -exec touch {} +
 
-%.2bpp: %.png ; $(eval 2bppq += $<) @rm -f $@
-%.1bpp: %.png ; $(eval 1bppq += $<) @rm -f $@
-%.lz:   %     ; $(eval lzq   += $<) @rm -f $@
+%.2bpp: %.png ; @$(gfx) 2bpp $<
+%.1bpp: %.png ; @$(gfx) 1bpp $<
+%.lz:   %     ; @$(gfx) lz $<
 
 
 %.pal: ;