extract image loading

This commit is contained in:
cat 2025-05-26 13:08:18 +10:00
parent 9ece614c73
commit 3840fb0321
5 changed files with 91 additions and 40 deletions

View file

@ -4,9 +4,11 @@ PREFIX ?= /usr/local
CFLAGS := $(CFLAGS) `pkg-config --cflags --libs sdl3`
LDFLAGS := $(LDFLAGS) -lm
SRCS = slutpet.c img.c
all: slutpet
slutpet: slutpet.c
slutpet: ${SRCS}
.PHONY: clean
clean: