projects
/
wasm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add uniforms
[wasm.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index c2171a2157ad7d2973b800da9bcdf7e444f06303..40629adf7d9eb74d00b10ae2862ef33bcd117e5d 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-54,6
+54,7
@@
test.wasm: test.cpp sysroot
toolchain/build/llvm/bin/clang++ \
--target=wasm32-unknown-unknown-wasm -g -O3 \
-fno-exceptions --sysroot=sysroot -nostartfiles \
toolchain/build/llvm/bin/clang++ \
--target=wasm32-unknown-unknown-wasm -g -O3 \
-fno-exceptions --sysroot=sysroot -nostartfiles \
- -Wl,--export=setup,--demangle,--no-entry,--allow-undefined-file=gles2.imports \
+ -I/usr/local/include \
+ -Wl,--export=setup,--export=update,--demangle,--no-entry,--allow-undefined-file=gles2.imports \
test.cpp -o test.wasm
test.cpp -o test.wasm