diff --git a/.gitignore b/.gitignore index 0334f5c..fc79be5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ - +.DS_Store *.sdf *.opensdf *.user diff --git a/Makefile b/Makefile index 9ddab30..c7a6db3 100644 --- a/Makefile +++ b/Makefile @@ -31,18 +31,21 @@ $(info $(CFG) configuration selected) #------------------------------------------------------------------------------- UNAME := $(shell uname) +#------------------------------------------------------------------------------- # default windows libraries and options PLATFORM := win32 PLATFORM_LD_FLAGS := -static-libgcc -static-libstdc++ - +#------------------------------------------------------------------------------- ifeq ($(UNAME), Linux) -# it appears that we're running on linux PLATFORM := linux PLATFORM_LD_FLAGS := endif - -# TODO: other platform detection - +#------------------------------------------------------------------------------- +ifeq ($(UNAME), Darwin) +PLATFORM := osx +PLATFORM_LD_FLAGS := +endif +#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------