aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-06-22 21:36:54 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-06-22 21:36:54 +0200
commitae33bc120cf95d7572939df00e6abaca760b117b (patch)
treee315663a48339a9dd71cbcfba956c561c996eb15 /Makefile
parenta290eaab66eda29da69c9d5f28b8753fb4d7a65e (diff)
Build Carts for Testing
Build the `pico8` sysroot cart for testing.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f5fad6e..655f754 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,9 @@ SRC = src/picow.c src/png.c src/sysroot.c
OBJ = $(patsubst %.c,%.o,$(SRC))
.PHONY: all
-all: picow ;
+all: picow carts ;
+include makefiles/carts.mk
include makefiles/system.mk
include makefiles/tools.mk
include makefiles/wamr.mk
@@ -12,8 +13,8 @@ picow: $(OBJ) $(WAMR_OBJ)
$(CC) -o $@ $^ $$(pkg-config SDL3 --libs)
.PHONY: clean
-clean: clean-system clean-tools clean-wamr
- rm -f platform/sdl/picow src/picow.o src/png.o src/sysroot.c
+clean: clean-carts clean-system clean-tools clean-wamr
+ rm -f picow $(OBJ)
src/%.o: src/%.c
$(CC) -c -o $@ $< -Ilib/ $$(pkg-config SDL3 --cflags)