summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremilybrooks <emilybrooksemilybrooks@gmail.com>2024-09-25 11:50:06 -0700
committerGitHub <noreply@github.com>2024-09-25 11:50:06 -0700
commit5fb92a5079f8e2ccf67d5593236a62dff6cd3638 (patch)
tree19a401e3fbf9dda42147198eb97c8990c2d44a22 /Makefile
parent35eba20abdd3f810a2f878edea37890858ffccc2 (diff)
properly handle swapped textures (#215)
* set up extension * extension works * make file stuff * everything works! * renamed script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index df90e5e..5e58a57 100644
--- a/Makefile
+++ b/Makefile
@@ -368,6 +368,9 @@ $(BUILD_DIR)/%.o: %.c
$(RM_MDEBUG)
# Build C files from assets
+$(BUILD_DIR)/%.ci4swap.inc.c: %.ci4swap.png
+ $(PYTHON) tools/ci4swap_handler.py $< $@
+
$(BUILD_DIR)/%.inc.c: %.png
# File names are formatted as <file name>.<image format>.png
# The <image format> part is passed into pigment's format argument