Back to shtanton's homepage
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2025-04-05 22:29:17 +0100
committerCharlie Stanton <charlie@shtanton.xyz>2025-04-05 22:29:17 +0100
commitb41d2ab5e44647564572c5162bf3109de4aaac82 (patch)
treec279cc5ac2c3c9e5d34a243ccb9e0f72b8315268 /Makefile
parent8701a3d42c86aada738bfb3b5f817e6e1ce12a47 (diff)
downloadldjam57-b41d2ab5e44647564572c5162bf3109de4aaac82.tar
Add other images to SDL
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aa91fae..d48073d 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,20 @@ build/%.qoi: res/%.png
mkdir -p build
magick $< $@
-build/images.c: build/continue.qoi build/img
+build/images.c: build/continue.qoi build/exit.qoi build/pause.qoi build/play.qoi build/restart.qoi build/img
mkdir -p build
(\
build/img pixels build/continue.qoi 1 && \
+ build/img pixels build/exit.qoi 2 && \
+ build/img pixels build/pause.qoi 3 && \
+ build/img pixels build/play.qoi 4 && \
+ build/img pixels build/restart.qoi 5 && \
echo 'Image images[] = {{0},' && \
build/img image build/continue.qoi 1 && \
+ build/img image build/exit.qoi 2 && \
+ build/img image build/pause.qoi 3 && \
+ build/img image build/play.qoi 4 && \
+ build/img image build/restart.qoi 5 && \
echo '};' \
) > build/images.c