compile loader to c as well

This commit is contained in:
2023-04-05 22:57:38 +02:00
parent 043096d54d
commit 169ae3d908
8 changed files with 1154 additions and 49 deletions

View File

@@ -1,11 +1,11 @@
WASM3_C := $(wildcard wasm3/source/*.c)
WASM3_O := $(WASM3_C:.c=.o)
uw8-wasm3: main.o $(WASM3_O) platform.o wasm-rt-impl.o
uw8-wasm3: main.o $(WASM3_O) platform.o loader.o wasm-rt-impl.o
gcc -g -lm -lSDL2 -o uw8-wasm3 $^
run: uw8-wasm3 .PHONY
./uw8-wasm3 never_sleeps.uw8
./uw8-wasm3 skipahead.uw8
run-ts:
deno run --allow-read main.ts