summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZoRo <dos21h@gmail.com>2020-11-17 20:06:44 +0000
committerZoRo <dos21h@gmail.com>2020-11-17 20:06:44 +0000
commit677a52fe2323769619cd2fd15012a210f7d680e2 (patch)
tree104a8ee526be3cd4cc3c68bc28c9c8a4851fabe9 /Makefile
parenta5d473dfc0ca64a6aceba0cea3db663134f73d37 (diff)
downloadwasm_fractal-677a52fe2323769619cd2fd15012a210f7d680e2.tar.gz
wasm_fractal-677a52fe2323769619cd2fd15012a210f7d680e2.zip
Working version of fractal
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9e99e53..31ecc79 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,9 @@ EM_LDFALGS=-s USE_SDL=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS='["png"]' -s US
make:
$(CC) -c koh.c
$(CC) -c fractal.c
- $(CC) -c fractal2.c
+ #$(CC) -c fractal2.c
$(CC) koh.o fractal.o -o fractal $(LDFLAGS)
- $(CC) koh.o fractal2.o -o fractal2 $(LDFLAGS)
+ #$(CC) koh.o fractal2.o -o fractal2 $(LDFLAGS)
emcc:
$(EMCC) fractal.c koh.c -s WASM=1 -O3 -o index.js $(EM_LDFALGS) -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]'