tomm / fab-agon-emulator

Agon Light, Agon Light 2, Agon Console8 Emulator for Linux, Windows, any system with libSDL
GNU General Public License v3.0
82 stars 19 forks source link

Add os detection to Makefile #25

Closed astralaster closed 9 months ago

astralaster commented 10 months ago

With a proper OS detection in makefile it is possible to switch tools in the buildprocess and no longer need coreutils on windows.

astralaster commented 10 months ago

I converted this back to draft, because I think it might fail on non windows because of the OS env not being set. Also its not nice to reuse OS env.

snakebyte69 commented 10 months ago

At a minimum OS detect can set different CFLAGS which will reduce/eliminate build warnings for macOS