Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbid committed Feb 3, 2023
1 parent a8b4280 commit 05ef7b4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
9 changes: 1 addition & 8 deletions compile.sh
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
4 changes: 4 additions & 0 deletions fullbright.sh
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
10 changes: 10 additions & 0 deletions release.sh
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

0 comments on commit 05ef7b4

Please sign in to comment.