From 33f016838d62312b40cecd8bb7bc36cbe9832362 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 28 Apr 2003 01:40:23 +0000 Subject: [PATCH] include -DLINUX in CXXFLAGS if not compiling for Darwin --- stepmania/src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Makefile.am b/stepmania/src/Makefile.am index 172b4212ad..6247464293 100644 --- a/stepmania/src/Makefile.am +++ b/stepmania/src/Makefile.am @@ -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