diff options
| author | entrpntr <entrpntr@gmail.com> | 2020-04-06 14:28:33 -0400 |
|---|---|---|
| committer | entrpntr <entrpntr@gmail.com> | 2020-04-06 14:48:14 -0400 |
| commit | 07a5cc60d0c3e37699ad5e45366cb9b093d6b7e7 (patch) | |
| tree | d24dd2f6ac9f79f3247415d136b290a17766df3a /Makefile | |
| parent | d46fcef6bc2c8054f873d238e020d43b6f1774f2 (diff) | |
Add unnamed.py and update for rgbds v0.4.x before continuing.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -63,15 +63,16 @@ tools: $(MAKE) -C tools/ -$(gold_obj): RGBASMFLAGS = -D _GOLD -$(silver_obj): RGBASMFLAGS = -D _SILVER +RGBASMFLAGS = -L -Weverything +$(gold_obj): RGBASMFLAGS += -D _GOLD +$(silver_obj): RGBASMFLAGS += -D _SILVER # The dep rules have to be explicit or else missing files won't be reported. # As a side effect, they're evaluated immediately instead of when the rule is invoked. # It doesn't look like $(shell) can be deferred so there might not be a better way. define DEP $1: $2 $$(shell tools/scan_includes $2) - $$(RGBASM) $$(RGBASMFLAGS) -L -o $$@ $$< + $$(RGBASM) $$(RGBASMFLAGS) -o $$@ $$< endef # Build tools when building the rom. @@ -95,12 +96,10 @@ endif pokegold.gbc: $(gold_obj) pokegold.link $(RGBLINK) -n pokegold.sym -m pokegold.map -l pokegold.link -o $@ $(gold_obj) $(RGBFIX) -cjsv -i AAUE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t "POKEMON_GLD" $@ - tools/sort_symfile.sh pokegold.sym pokesilver.gbc: $(silver_obj) pokesilver.link $(RGBLINK) -n pokesilver.sym -m pokesilver.map -l pokesilver.link -o $@ $(silver_obj) $(RGBFIX) -cjsv -i AAXE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t "POKEMON_SLV" $@ - tools/sort_symfile.sh pokesilver.sym pngs: find gfx -iname "*.lz" -exec $(gfx) unlz {} + |
