From 8ff37e01646879af9d0555f6c976c9d080c60d50 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 5 May 2003 06:47:24 +0000 Subject: [PATCH] simplify add -O2 --- stepmania/src/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Makefile.am b/stepmania/src/Makefile.am index 4bd7ea2a06..52c99d4d93 100644 --- a/stepmania/src/Makefile.am +++ b/stepmania/src/Makefile.am @@ -10,7 +10,9 @@ else AM_CXXFLAGS += -DLINUX endif -AM_CXXFLAGS = -ISDL-1.2.5/include -ISDL_sound-1.0.0 +AM_CXXFLAGS += -O2 -ISDL-1.2.5/include -ISDL_sound-1.0.0 +AM_CFLAGS += -O2 + # This is a little hacky; we use our own version of SDL and SDL_sound, and I don't # want to have to integrate their entire build systems. @@ -144,10 +146,9 @@ Sound_Null = \ arch/Sound/RageSoundDriver_Null.cpp \ arch/Sound/RageSoundDriver_Null.h -if ALSA -Sound = $(Sound_Null) $(Sound_ALSA9) -else Sound = $(Sound_Null) +if ALSA +Sound += $(Sound_ALSA9) endif stepmania_SOURCES = $(Rage) $(DataStructures) $(FileTypes) $(StepMania) $(Transitions) \