mirror of
https://github.com/n64decomp/mk64
synced 2026-09-07 02:39:54 -04:00
4c4cb36b4d
* 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
27 lines
880 B
Makefile
27 lines
880 B
Makefile
WARIO_STADIUM_DIR := assets/courses/wario_stadium
|
|
|
|
WARIO_STADIUM_SIGN := \
|
|
$(WARIO_STADIUM_DIR)/gTextureWarioStadiumSignTopLeft.png \
|
|
$(WARIO_STADIUM_DIR)/gTextureWarioStadiumSignBottomLeft.png \
|
|
$(WARIO_STADIUM_DIR)/gTextureWarioStadiumSignTopRight.png \
|
|
$(WARIO_STADIUM_DIR)/gTextureWarioStadiumSignBottomRight.png
|
|
|
|
WARIO_STADIUM_EXPORT_SENTINEL := $(WARIO_STADIUM_DIR)/.export
|
|
|
|
$(BUILD_DIR)/courses/wario_stadium/course_data.inc.o: $(WARIO_STADIUM_SIGN:%.png=%.inc.c)
|
|
|
|
$(WARIO_STADIUM_SIGN:%.png=%.inc.c): %.inc.c : %.png
|
|
$(N64GRAPHICS) -i $@ -g $< -s u8 -f rgba16
|
|
|
|
$(WARIO_STADIUM_SIGN): $(WARIO_STADIUM_EXPORT_SENTINEL) ;
|
|
|
|
$(WARIO_STADIUM_EXPORT_SENTINEL): $(ASSET_DIR)/courses/wario_stadium.json
|
|
$(ASSET_EXTRACT) $(BASEROM) $<
|
|
$(TOUCH) $@
|
|
|
|
.PHONY: distclean_wario_stadium
|
|
distclean_wario_stadium:
|
|
rm -rf $(WARIO_STADIUM_DIR)
|
|
|
|
distclean_assets: distclean_wario_stadium
|