summaryrefslogtreecommitdiff
path: root/build_native.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_native.sh')
-rwxr-xr-xbuild_native.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_native.sh b/build_native.sh
index ba7f3a6..a2f2a3b 100755
--- a/build_native.sh
+++ b/build_native.sh
@@ -5,6 +5,9 @@ find src/js -name '*.js' -exec cat {} \; >> exp.js
echo >> exp.js
echo "main();" >> exp.js
+rm stage4.js
+find src/stage4 -name '*.js' -exec cat {} \; >> stage4.js
+
# build for host
gcc -I $(pwd)/inc/ \
src/gen/main.c \