display framebuffer in sdl window

This commit is contained in:
dranke committed 2023-03-30 09:16:01 +02:00
1 parent aec48ce3f0
commit 3c6c9a3745
2 files changed
+40 -6

No files matched your search

+3 -3
View File
@@ -8,13 +8,13 @@ run-ts:
deno run --allow-read main.ts
wasm3-test: main.o $(WASM3_O)
gcc -g -lm -o wasm3-test $^
gcc -g -lm -lSDL2 -o wasm3-test $^
wasm3/source/%.o: wasm3/source/%.c
gcc -g -DDEBUG=1 -c -o $@ $^
gcc -g -O2 -c -o $@ $^
main.o: main.c
gcc -g -DDEBUG=1 -c -o main.o main.c
gcc -g -O2 -c -o main.o main.c
clean:
rm wasm3-test main.o $(WASM3_O)