blob: 22c193b3f08482819f93868cb3582719a1d4eee4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- Makefile.orig 2005-11-29 00:18:03 UTC
+++ Makefile
@@ -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 @@ install: $(TARGET)
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
|