mirror of
https://github.com/n64decomp/mk64
synced 2026-08-29 16:32:27 -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
23 lines
757 B
Makefile
23 lines
757 B
Makefile
ROYAL_RACEWAY_DIR := assets/courses/royal_raceway
|
|
|
|
ROYAL_RACEWAY_PIRANHA_PLANT_PALETTE := $(ROYAL_RACEWAY_DIR)/gTLUTRoyalRacewayPiranhaPlant.png
|
|
|
|
ROYAL_RACEWAY_EXPORT_SENTINEL := $(ROYAL_RACEWAY_DIR)/.export
|
|
|
|
$(BUILD_DIR)/courses/royal_raceway/course_data.inc.o: $(ROYAL_RACEWAY_PIRANHA_PLANT_PALETTE:%.png=%.inc.c)
|
|
|
|
$(ROYAL_RACEWAY_PIRANHA_PLANT_PALETTE:%.png=%.inc.c): %.inc.c : %.png
|
|
$(N64GRAPHICS) -i $@ -g $< -s u8 -f rgba16
|
|
|
|
$(ROYAL_RACEWAY_PIRANHA_PLANT_PALETTE): $(ROYAL_RACEWAY_EXPORT_SENTINEL) ;
|
|
|
|
$(ROYAL_RACEWAY_EXPORT_SENTINEL): $(ASSET_DIR)/courses/royal_raceway.json
|
|
$(ASSET_EXTRACT) $(BASEROM) $<
|
|
$(TOUCH) $@
|
|
|
|
.PHONY: distclean_royal_raceway
|
|
distclean_royal_raceway:
|
|
rm -rf $(ROYAL_RACEWAY_DIR)
|
|
|
|
distclean_assets: distclean_royal_raceway
|