summarylogtreecommitdiffstats
path: root/makefile.patch
blob: b04f9c3e1dc426fa7bf2839cd59025eb70d250e1 (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
54
55
--- a/Makefile	2013-03-27 23:40:48.000000000 +0200
+++ b/Makefile	2016-03-10 00:36:33.395861454 +0200
@@ -4,8 +4,7 @@
 
 LIBS = -lpthread
 
-
-default: fire
+default: firenzina
 
 OFILES = main.o \
                     50move.o \
@@ -62,34 +61,17 @@
                     top_analysis.o \
                     top_node.o \
                     unmake_move.o \
-                    utility.o \
-                 
-     
+                    utility.o
+
 $(OFILES): 
 
-fire:  $(OFILES) 
-	gcc -o fire $(OFILES)  $(LIBS) 
+firenzina:  $(OFILES) 
+	gcc -o firenzina $(OFILES) $(LIBS)
 
 clean:
-	rm -f *.o  fire
+	rm -f *.o firenzina
 
 .c.o:   main.c
-	gcc -c -g $*.c  -Wall -w -pipe  -s -std=c99 -DNDEBUG -DHAVE_STRUCT_TIMESPEC -Ofast -static  \
-                      -flto -fwhole-program -finline-functions -fprefetch-loop-arrays  \
-                      -Wfatal-errors -mtune=native -DHasPreFetch -DRobboBases \
-                      
-                         
-
-# for popcount (AMD)          =   -march=amdfam10 -mtune=amdfam10 -mpopcnt -DHasPopCNT
-# for popcount (INTEL)        =   -msse4.2 -march=corei7 -mtune=corei7 -mpopcnt -DHasPopCNT
-
-# for RobboBase support       =  -DRobboBases
-
-# for SSE cpus (and above)    =  -DHasPreFetch -msse
-
-
-
-
-
-
-
+	gcc -c -g $*.c -w -s -DNDEBUG -DHAVE_STRUCT_TIMESPEC -static \
+		-march=native -O2 -pipe -fomit-frame-pointer \
+		-Wfatal-errors -DHasPreFetch -DRobboBase