-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Who needs CMake when you have build scripts
- Loading branch information
1 parent
7354f89
commit 8281cbe
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
clear | ||
|
||
mkdir release > /dev/null 2>&1 | ||
|
||
mkdir release/linux > /dev/null 2>&1 | ||
gcc src/*.c -o release/linux/silicon-runes -lm -O3 | ||
|
||
mkdir release/windows > /dev/null 2>&1 | ||
x86_64-w64-mingw32-gcc src/*.c -o release/windows/silicon-runes.exe -lm -O3 | ||
|
||
mkdir release/macosx > /dev/null 2>&1 | ||
export PATH="/home/devtaube/osxcross/target/bin:$PATH" | ||
x86_64-apple-darwin14-clang -Wno-everything src/*.c -o release/macosx/silicon-runes -lm -O3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
clear | ||
|
||
mkdir out > /dev/null 2>&1 | ||
mkdir debug > /dev/null 2>&1 | ||
|
||
gcc -Wextra src/*.c -o out/silicon-runes -lm -O3 && | ||
gcc -Wextra src/*.c -o debug/silicon-runes -lm && | ||
out/silicon-runes |