diff options
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) |
