Autodetect if running on OS X in makefile

This commit is contained in:
Andres Amaya Garcia 2018-06-13 09:28:04 +01:00
parent c06c9ae088
commit c471cd7e0a

View File

@ -21,7 +21,7 @@ endif
# if were running on Windows build for Windows
ifdef WINDOWS
WINDOWS_BUILD=1
else ifdef APPLE
else ifeq ($(shell uname -s),Darwin)
APPLE_BUILD=1
endif