add native linux compile sh

This commit is contained in:
Redo 2022-11-05 12:34:30 -06:00
parent a6cc4bbea8
commit 4d874d4f7f
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
savedata/*
*.so

View File

@ -1,4 +1,2 @@
set cargs=-shared -Wall -Werror -Ofast
gcc compiled_sim.c -o compiled_sim.dll %cargs%
gcc compiled_sim.c -o compiled_sim.so %cargs%
gcc compiled_sim.c -o compiled_sim.dll -shared -Wall -Werror -Ofast
pause

1
sim/compiled_sim.sh Normal file
View File

@ -0,0 +1 @@
gcc compiled_sim.c -o compiled_sim.so -shared -Wall -Werror -Ofast -fPIC