--- Makefile.orig Mon Apr 2 09:20:41 2007 +++ Makefile Mon Apr 2 09:20:55 2007 @@ -1,19 +1,18 @@ PREFIX=/usr/local -COMPILE_FLAGS = -fPIC `pkg-config fftw3f samplerate sndfile --cflags` +COMPILE_FLAGS = $(CFLAGS) -fPIC `pkg-config fftw3f samplerate sndfile --cflags` #COMPILE_FLAGS += -g -COMPILE_FLAGS += -O3 -funroll-loops -funroll-all-loops LINK_FLAGS = `pkg-config fftw3f samplerate sndfile --libs` # uncomment the following line if libDSP is not available for # your platform (power pc etc.)... -# COMPILE_FLAGS += -DC_CMUL +COMPILE_FLAGS += -DC_CMUL # ...and comment this one out: -LINK_FLAGS += -L/usr/local/lib -ldsp -lstdc++ +#LINK_FLAGS += -L/usr/local/lib -ldsp -lstdc++ ST_TARGET = libconvolve.a @@ -53,5 +52,5 @@ cp $(TARGET) $(PREFIX)/lib/ cp $(ST_TARGET) $(PREFIX)/lib/ cp convolve.h $(PREFIX)/include/ - ldconfig -n $(PREFIX)/lib + ln -s $(PREFIX)/lib/$(TARGET) $(PREFIX)/lib/$(SONAME) || true ln -s $(PREFIX)/lib/$(SONAME) $(PREFIX)/lib/$(SMALLNAME) || true