Skip to content

helpvisa/cstroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cstroids

tiny asteroids clone written in C using SDL2

Created as an exercise in learning C and SDL.

Compiling

Linux

If you're using any Linux distro, all you should need is a C compiler and SDL2's development packages:

make
sudo make install

Static Linux binaries can be compiled using:

make STATIC=1

Static binaries can only be compiled on Linux.

FreeBSD

If you're on FreeBSD, GNU Make is also required. Once it's installed, you can still run a simple make:

make
sudo make install

Compilation has not been tested on any of the other BSDs. Maybe you can try it and let me know?

Windows (cross-compiling)

You can also cross-compile a Windows binary using mingw32-gcc. Bear in mind you'll need a copy of SDL2.dll (not included here) to run the Windows binary:

make WINDOWS_CROSSCOMPILE=1

Windows binaries can only be easily built on Linux at the moment, but that may change if I decide I'm ready to dig into more Makefile shenanigans.

MacOS

If you'd like to experiment with compiling on MacOS, I'm sure it's possible but I don't own any Apple products to try that with! Of course, donations for the sake of 'easing development' are appreciated...

Misc

This project is in active (but slow, hobbyist) development, so no releases yet... but maybe soon :)

About

tiny asteroids clone made with SDL2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published