summaryrefslogtreecommitdiff
blob: b4a69d176b6070f55a202faef730cf3a1d6e0bbf (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- libDSP/Makefile.old	2004-07-29 14:11:11.843296616 +0900
+++ libDSP/Makefile	2004-07-29 14:50:34.059185216 +0900
@@ -29,14 +29,9 @@
 #CFLAGS = -march=athlon-tbird -mcpu=athlon-xp -m3dnow # -msse -mfpmath=sse
 #CFLAGS = -march=pentium3 -mcpu=pentium3 -msse -mfpmath=sse
 #CFLAGS = -march=pentium4 -mcpu=pentium4 -msse2 -mfpmath=sse -m128bit-long-double
-CFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays -Wall -Werror #-g
-CFLAGS += -ftracer
-OPTCFLAGS = -march=pentium2 -mcpu=pentium4 -mmmx
 #OPTCFLAGS = -march=athlon-tbird -mcpu=athlon-xp -m3dnow 
 #OPTCFLAGS = -march=pentium3 -mcpu=pentium3 -msse
 #OPTCFLAGS = -march=pentium4 -mcpu=pentium4 -msse2 -m128bit-long-double
-OPTCFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays -Wall -Werror #-g
-OPTCFLAGS += -ftracer
 CXXFLAGS = $(CFLAGS)
 
 # thread safety
@@ -52,7 +47,7 @@
 # define for Intel Integrated Performance Primitives support
 #DEFS += -DDSP_IPP
 
-INCS = -I. #-I/usr/local/include
+INCS = -I. -I../Inlines #-I/usr/local/include
 #INCS += `pkg-config --cflags fftw3f fftw3`
 #INCS += -I/opt/intel/ipp/include
 
@@ -154,7 +149,7 @@
 	$(LIBTOOL) --mode=compile $(CXX) $(CXXFLAGS) $(DEFS) $(INCS) -c $<
 
 X86.$(OBJ): X86.$(CSRC)
-	$(LIBTOOL) --mode=compile $(CC) $(OPTCFLAGS) $(DEFS) $(INCS) -c $<
+	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $<
 
 libdsp.la: $(OBJS)
 	$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -rpath $(TGPREFIX)/lib -version-info $(VERSION) -o libdsp.la $(LOBJS) $(LIBS)
--- DynThreads/Makefile.old	2004-07-29 14:14:35.034406872 +0900
+++ DynThreads/Makefile	2004-07-29 14:51:14.760997600 +0900
@@ -21,7 +21,7 @@
 CXXFLAGS = -march=pentium2 -mcpu=athlon-xp -O2 -Wall -Werror #-ggdb
 DEFS = -D_REENTRANT -D_THREAD_SAFE
 #DEFS += -DUSE_NPTL
-INCS = #-I/usr/local/include
+INCS = -I. -I../Inlines #-I/usr/local/include
 LIBS = -lpthread
 
 PREFIX = /usr/local
@@ -57,6 +57,3 @@
 
 DynThreads.dep: $(SRCS)
 	$(CXX) -MM $(DEFS) $(INCS) $(SRCS) >DynThreads.dep
-
-include DynThreads.dep
-