Files
mk64/assets/include/ending_ceremony.mk
T
coco875 4c4cb36b4d add compatibilty for Windows build (#564)
* Add Windows Support
* Modify readme instructions for windows building
* Remove unused files
* Modified extract_assets.py, new_extract_assets.py, and build.py to work on windows
2024-02-22 08:33:46 -07:00

31 lines
952 B
Makefile

ENDING_CEREMONY := assets/ending_ceremony
TROHPY_PNG := \
$(ENDING_CEREMONY)/gTextureReflectionMapBrass.png \
$(ENDING_CEREMONY)/gTextureReflectionMapSilver.png \
$(ENDING_CEREMONY)/gTextureReflectionMapGold.png
PODIUM_PNG := \
$(ENDING_CEREMONY)/gTexturePodium1.png \
$(ENDING_CEREMONY)/gTexturePodium2.png \
$(ENDING_CEREMONY)/gTexturePodium3.png
ENDING_CEREMONY_EXPORT_SENTINEL := $(ENDING_CEREMONY)/.export
$(BUILD_DIR)/src/ending/ceremony_data.inc.o: $(TROHPY_PNG:%.png=%.inc.c) $(PODIUM_PNG:%.png=%.inc.c)
$(TROHPY_PNG:%.png=%.inc.c) $(PODIUM_PNG:%.png=%.inc.c): %.inc.c : %.png
$(N64GRAPHICS) -i $@ -g $< -s u8 -f rgba16
$(TROHPY_PNG) $(PODIUM_PNG): $(ENDING_CEREMONY_EXPORT_SENTINEL) ;
$(ENDING_CEREMONY_EXPORT_SENTINEL): $(ASSET_DIR)/ending_ceremony.json
$(ASSET_EXTRACT) $(BASEROM) $<
$(TOUCH) $@
.PHONY: distclean_ending_ceremony
distclean_ending_ceremony:
rm -rf $(ENDING_CEREMONY)
distclean_assets: distclean_ending_ceremony