include -DLINUX in CXXFLAGS if not compiling for Darwin

This commit is contained in:
Steve Checkoway
2003-04-28 01:40:23 +00:00
parent 241284161c
commit 33f016838d
+3 -1
View File
@@ -1,7 +1,9 @@
bin_PROGRAMS = stepmania
AM_CXXFLAGS = -ISDL-1.2.5/include -ISDL_sound-1.0.0 -DLINUX
AM_CXXFLAGS = -ISDL-1.2.5/include -ISDL_sound-1.0.0
if DARWIN
AM_LDFLAGS = -framework Cocoa -framework Quicktime -framework Carbon -framework OpenGL -framework IOKit
else
AM_CXXFLAGS = $(AM_CXXFLAGS) -DLINUX
endif
# This is a little hacky; we use our own version of SDL and SDL_sound, and I don't