--- libaudio/Makefile.linux.orig	Wed Aug  9 18:23:25 2000
+++ libaudio/Makefile.linux	Sun Jul  1 13:48:53 2001
@@ -1,11 +1,11 @@
-CC      = gcc
-CXX     = g++
+CC      ?= gcc
+CXX     ?= g++
 BACKDIR = ../bak/libaudio
 HOMEDIR = $(HOME)
 INCDIR  = -I.
-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
+CCFLAGS += $(INCDIR) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
 DEBUG   = -g3
-OPTIM   = -O1
+OPTIM   = ${CXXFLAGS}
 
 LIBNAME = libaudio.a
 OBJS    = audio.o
