summaryrefslogtreecommitdiff
path: root/build_native.sh
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-31 00:01:08 -0400
committerspv420 <spv@spv.sh>2022-07-31 00:01:08 -0400
commitecfc3d061aedcaa08d165227909b6b1098cbebb5 (patch)
tree06e1198119523a23283a266ed68e4f1cc5c202f3 /build_native.sh
parent30582c3535e1a41a0d385435c14a632bdc0a3715 (diff)
stage4
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 \