--- sound/Makefile.linux.orig Fri Jul 5 06:08:17 2002 +++ sound/Makefile.linux Sun Jan 5 22:27:56 2003 @@ -1,5 +1,5 @@ -CC = gcc -CXX = g++ +CC ?= gcc +CXX ?= g++ SPKIT = ../spkit AUDIO = ../libaudio AUDIOF = ../libaudiofile @@ -8,9 +8,9 @@ HOMEDIR = $(HOME) INCDIR = -I. -I.. -I$(SPKIT) -I$(MAINDIR) -I$(OTHER_INCLUDE_DIR) LIBDIR = -L$(SPKIT)/spkit -L$(AUDIO) -L$(AUDIOF) -L$(OTHER_LIBRARY_DIR) -CCFLAGS = $(DEBUG) $(OPTIM) -DNOFORMS -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused +CCFLAGS = $(OPTIM) -DNOFORMS -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused DEBUG = -g3 -OPTIM = -O1 +OPTIM = ${CXXFLAGS} LDFLAGS = $(LIBDIR) -laudio -laudiofile -lm PROGS = SampleTest