|
@@ -140,7 +140,11 @@ generated_image/%.c generated_image/%.h: $(AUTO_ASSET_ROOT)/%.png
|
140
|
140
|
$(shell mkdir -p $(dir $@))
|
141
|
141
|
$(GRIT) $< -o $@ -ftc -ff $(<D)/$(notdir $(<D)).grit
|
142
|
142
|
|
143
|
|
-all: $(GEN_H) rom
|
|
143
|
+src/include/pymap_constants.h: sots-private/map/sots.json.constants sots-private/map/sots.json.config
|
|
144
|
+ pymapconstex.py sots-private/map/sots.json
|
|
145
|
+ $(shell ./generate_pymap_header.sh)
|
|
146
|
+
|
|
147
|
+all: src/include/pymap_constants.h $(GEN_H) rom
|
144
|
148
|
|
145
|
149
|
.PHONY: rom
|
146
|
150
|
rom: main.asm $(MAIN_OBJ)
|
|
@@ -235,10 +239,5 @@ $(CRY_AR):
|
235
|
239
|
@printf "\e[1,32mMaking Cries\e[0m\n"
|
236
|
240
|
$(MAKE) -C $(dir $@) all
|
237
|
241
|
|
238
|
|
-.PHONY: constants
|
239
|
|
-constants:
|
240
|
|
- pymapconstex.py sots-private/map/sots.json
|
241
|
|
- $(shell ./generate_pymap_header.sh)
|
242
|
|
-
|
243
|
242
|
run: rom
|
244
|
243
|
$(VBA) "build/pkmn_sots.gba"
|