From 245a3831d7266913b0281bfa19058b59ac80818b Mon Sep 17 00:00:00 2001 From: spv420 Date: Sat, 23 Apr 2022 18:22:31 -0400 Subject: big b0i --- build_native.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'build_native.sh') diff --git a/build_native.sh b/build_native.sh index 44e1d45..a349643 100644 --- a/build_native.sh +++ b/build_native.sh @@ -1,23 +1,23 @@ #!/bin/bash rm exp.js -find js -name '*.js' -exec cat {} \; >> exp.js +find src/js -name '*.js' -exec cat {} \; >> exp.js echo >> exp.js echo "main();" >> exp.js # build for host -gcc -I $(pwd)/inc/ \ - src/main.c \ - src/ip_tools.c \ - src/stage0_primitives.c \ - src/stage1_primitives.c \ - src/patchfinder.c \ - src/stage2.c \ - src/shit.c \ - -o bin/main_arm \ +gcc -I $(pwd)/inc/ \ + src/gen/main.c \ + src/gen/ip_tools.c \ + src/gen/stage0_primitives.c \ + src/gen/stage1_primitives.c \ + src/gen/patchfinder.c \ + src/gen/stage2.c \ + src/gen/shit.c \ + -o bin/main_arm \ -D__WHOAMI__="\"$(whoami)\"" \ -D__PWD__="\"$(pwd)\"" \ - -g \ + -g \ --std=c99 ldid -Sent.xml bin/main_arm -- cgit v1.2.3