No description
| src | ||
| .gitignore | ||
| create-makefile.sh | ||
| LICENSE | ||
| Makefile.nx | ||
| README.md | ||
RECTANGLE DESCEND
To get the data folder you will need to donwload the game from my website.
Build instructions
On Linux, install make, sdl2, sdl2 image and sdl2 mixer. Then run ./create-makefile.sh and make in the root directory of the repo.
To build the Windows version on Linux, install mingw-w64-gcc. Download sdl2, sdl2 image and sdl2 mixer for mingw and put them in the root of this repo.
Then run the following commands:
x86_64-w64-mingw32-gcc -static-libgcc -c ./src/*.c -ISDL2-2.0.16/x86_64-w64-mingw32/include/SDL2/ -ISDL2_image-2.0.5/x86_64-w64-mingw32/include/SDL2/ -ISDL2_mixer-2.0.4/x86_64-w64-mingw32/include/SDL2/ -D__WIN32__
x86_64-w64-mingw32-gcc -static-libgcc -o ./rectangle_descend.exe *.o -LSDL2-2.0.16/x86_64-w64-mingw32/lib/ -LSDL2_image-2.0.5/x86_64-w64-mingw32/lib/ -LSDL2_mixer-2.0.4/x86_64-w64-mingw32/lib/ -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer -lmingw32 -mwindows -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid