initial commit, unpacking platform.uw8
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
WASM3_C := $(wildcard wasm3/source/*.c)
|
||||
WASM3_O := $(WASM3_C:.c=.o)
|
||||
|
||||
run: wasm3-test .PHONY
|
||||
./wasm3-test
|
||||
|
||||
wasm3-test: main.o $(WASM3_O)
|
||||
gcc -g -lm -o wasm3-test $^
|
||||
|
||||
wasm3/source/%.o: wasm3/source/%.c
|
||||
gcc -g -c -o $@ $^
|
||||
|
||||
main.o: main.c
|
||||
gcc -g -c -o main.o main.c
|
||||
|
||||
.PHONY:
|
||||
Reference in New Issue
Block a user