-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
15 additions
and
8 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 |
---|---|---|
@@ -1,9 +1,2 @@ | ||
clang main.c glad_gl.c -Ofast -lglfw -lm -o cubes2 | ||
i686-w64-mingw32-gcc main.c glad_gl.c -Ofast -Llib -lglfw3dll -lm -o cubes2.exe | ||
upx cubes2 | ||
upx cubes2.exe | ||
|
||
clang main_fullbright.c glad_gl.c -Ofast -lglfw -lm -o cubes2_fullbright | ||
i686-w64-mingw32-gcc main_fullbright.c glad_gl.c -Ofast -Llib -lglfw3dll -lm -o cubes2_fullbright.exe | ||
upx cubes2_fullbright | ||
upx cubes2_fullbright.exe | ||
./cubes2 |
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,4 @@ | ||
clang main_fullbright.c glad_gl.c -Ofast -lglfw -lm -o cubes2_fullbright | ||
i686-w64-mingw32-gcc main_fullbright.c glad_gl.c -Ofast -Llib -lglfw3dll -lm -o cubes2_fullbright.exe | ||
upx cubes2_fullbright | ||
upx cubes2_fullbright.exe |
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,10 @@ | ||
clang main.c glad_gl.c -Ofast -lglfw -lm -o CubeShooter | ||
i686-w64-mingw32-gcc main.c glad_gl.c -Ofast -Llib -lglfw3dll -lm -o CubeShooter.exe | ||
strip --strip-unneeded CubeShooter | ||
upx --lzma --best CubeShooter | ||
strip --strip-unneeded CubeShooter.exe | ||
upx --lzma --best CubeShooter.exe | ||
|
||
mkdir -p CubeShooter.AppDir/usr/bin/ | ||
cp CubeShooter CubeShooter.AppDir/usr/bin/ | ||
./appimagetool-x86_64.AppImage CubeShooter.AppDir CubeShooter-x86_64.AppImage |