diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-06-21 14:21:32 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-06-21 14:21:32 +0200 |
| commit | a290eaab66eda29da69c9d5f28b8753fb4d7a65e (patch) | |
| tree | 428c280fb4ce7847ceaa9c7f230ae84865d47579 /Makefile | |
| parent | 25d6188009ce36e0a59edb52b192c0738b4123cc (diff) | |
Just Build It
I had tried to split the PICO-w stuff into a separate library
and have individual platform code, but I will instead embrace the
SDL and just build on top of it.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,18 +2,18 @@ SRC = src/picow.c src/png.c src/sysroot.c OBJ = $(patsubst %.c,%.o,$(SRC)) .PHONY: all -all: platform/sdl/picow ; +all: picow ; include makefiles/system.mk include makefiles/tools.mk include makefiles/wamr.mk -platform/sdl/picow: platform/sdl/main.c $(OBJ) $(WAMR_OBJ) - $(CC) -o $@ $^ -Iinclude/ $$(pkg-config SDL3 --cflags --libs) +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 src/%.o: src/%.c - $(CC) -c -o $@ $< -Iinclude/ -Ilib/ + $(CC) -c -o $@ $< -Ilib/ $$(pkg-config SDL3 --cflags) |
