Commit de92a18b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5f925a65
......@@ -9,12 +9,13 @@ CC := emcc -s WASM=0
SO := js
endif
#all : libk_so.$(SO)
#CC += -v
all : prog.js
libk_so.$(SO) :
$(CC) -s SIDE_MODULE=1 -DLIBK_COMPILE -o $@ libk.c
libk_so.$(SO) : libk.c
$(CC) -s SIDE_MODULE=1 -DLIBK_COMPILE -o $@ $<
prog.js : libk_so.$(SO)
prog.js : prog.c libk_so.$(SO)
$(CC) -s MAIN_MODULE=1 -o $@ prog.c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment