makefile and .gitignore updates for os x

This commit is contained in:
gered 2012-01-19 18:37:06 -05:00
parent b5b9558432
commit e6b0de1f19
2 changed files with 9 additions and 6 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
.DS_Store
*.sdf *.sdf
*.opensdf *.opensdf
*.user *.user

View file

@ -31,18 +31,21 @@ $(info $(CFG) configuration selected)
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
UNAME := $(shell uname) UNAME := $(shell uname)
#-------------------------------------------------------------------------------
# default windows libraries and options # default windows libraries and options
PLATFORM := win32 PLATFORM := win32
PLATFORM_LD_FLAGS := -static-libgcc -static-libstdc++ PLATFORM_LD_FLAGS := -static-libgcc -static-libstdc++
#-------------------------------------------------------------------------------
ifeq ($(UNAME), Linux) ifeq ($(UNAME), Linux)
# it appears that we're running on linux
PLATFORM := linux PLATFORM := linux
PLATFORM_LD_FLAGS := PLATFORM_LD_FLAGS :=
endif endif
#-------------------------------------------------------------------------------
# TODO: other platform detection ifeq ($(UNAME), Darwin)
PLATFORM := osx
PLATFORM_LD_FLAGS :=
endif
#-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------