aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2025-04-14 14:56:55 +0200
committerNicholas Rodrigues Lordello <[email protected]>2025-04-14 14:56:55 +0200
commit5dd41ca230e51b7526c4d37a7b94a1a59739d8d7 (patch)
tree624aa18a4b7fdbeea58d38e8d2ef0410bc511e8a /Makefile
parenta3b614482a50ee59f3f262166b9e1f2cdd2f28f5 (diff)
PNG Decoding Support
We can decode PNGs from memory buffers, and soon be able to also load the cart roms from there. Still need to figure out if how the scanlines are organized in memory are correct, or if I got some order backwards (I'm new to C multi-dimentional arrays hehe...)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ae7e33..adabcb7 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ PICO8 = pico8
platform/sdl: platform/sdl/picow system ;
platform/sdl/picow: platform/sdl/main.c
- $(CC) -o $@ $< -Iinclude/ $$(pkg-config SDL3 --cflags --libs)
+ $(CC) -o $@ $< src/png.c -Iinclude/ -Ilib/ $$(pkg-config SDL3 --cflags --libs)
.PHONY: system
system: system/pico8.data.pod system/pico8.wasm ;