You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Stop using the preprocessor.
This commit is contained in:
10
Makefile
10
Makefile
@@ -8,7 +8,6 @@ PYTHON := python
|
||||
poketools := extras/pokemontools
|
||||
gfx := $(PYTHON) $(poketools)/gfx.py
|
||||
includes := $(PYTHON) $(poketools)/scan_includes.py
|
||||
pre := $(PYTHON) prequeue.py
|
||||
|
||||
|
||||
crystal_obj := \
|
||||
@@ -48,14 +47,11 @@ baserom.gbc: ;
|
||||
|
||||
|
||||
%.asm: ;
|
||||
%.tx: %.asm ; $(eval txq += $<) @rm -f $@
|
||||
|
||||
$(all_obj): $$*.tx $$(patsubst %.asm, %.tx, $$($$*_dep))
|
||||
@$(pre) $(txq); $(eval txq :=)
|
||||
$(all_obj): $$*.asm $$($$*_dep)
|
||||
@$(gfx) 2bpp $(2bppq); $(eval 2bppq :=)
|
||||
@$(gfx) 1bpp $(1bppq); $(eval 1bppq :=)
|
||||
@$(gfx) lz $(lzq); $(eval lzq :=)
|
||||
rgbasm -o $@ $*.tx
|
||||
@$(gfx) lz $(lzq); $(eval lzq :=)
|
||||
rgbasm -o $@ $<
|
||||
|
||||
pokecrystal.gbc: $(crystal_obj)
|
||||
rgblink -n $*.sym -m $*.map -o $@ $^
|
||||
|
Reference in New Issue
Block a user