diff options
author | dan <[email protected]> | 2023-05-30 18:23:54 -0400 |
---|---|---|
committer | dan <[email protected]> | 2023-05-30 18:23:54 -0400 |
commit | 24272d599e1886a8fb47e3e47d33a0aa7dd74e22 (patch) | |
tree | 3105c1638ff0bb909dff1023102a8e0fe809c83c /makefile | |
parent | 66d61a5546e5e0173f92e941ab489a1c6474473e (diff) | |
download | forth-24272d599e1886a8fb47e3e47d33a0aa7dd74e22.tar.gz forth-24272d599e1886a8fb47e3e47d33a0aa7dd74e22.tar.bz2 forth-24272d599e1886a8fb47e3e47d33a0aa7dd74e22.zip |
feat: web version also uses c code, compiled to wasm
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,4 +4,5 @@ run: ./forth run-rlwrap: rlwrap -r -f rlwrapcompletions.forth ./forth - +build-wasm: + emcc forth.c optable.c stack.c -Wall -o forthlib.js -s NO_EXIT_RUNTIME=1 -s "EXPORTED_RUNTIME_METHODS=['ccall']" |