forked from kl4yfd/timewave_z3r0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
47 lines (31 loc) · 1.5 KB
/
Makefile
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
all: twz-generator twz-generator-threaded twz-point datapoints-watkins
twz-generator: twz-generator.o
@gcc -w -g -O3 twz-generator.o -o twz-generator -lm -lpthread -msse2 -mfpmath=sse -mmmx -march=native
@printf " + Compilation successful!\n"
@ ls -l --color twz-generator
@echo
twz-generator.o: twz-generator.c
gcc -c twz-generator.c -lm -lpthread -O3 -msse2 -mfpmath=sse -mmmx -march=native
twz-generator-threaded: twz-generator-threaded.o
@gcc -w -g -O3 twz-generator-threaded.o -o twz-generator-threaded -lm -lpthread -msse2 -mfpmath=sse -mmmx -march=native
@printf " + Compilation successful!\n"
@ ls -l --color twz-generator-threaded
@echo
twz-generator-threaded.o: twz-generator-threaded.c
gcc -c twz-generator-threaded.c -lm -lpthread -O3 -msse2 -mfpmath=sse -mmmx -march=native
twz-point: twz-point.o
@gcc -w -g -O3 twz-point.o -o twz-point -lm -msse2 -mfpmath=sse -mmmx -march=native
@printf " + Compilation successful!\n"
@ls -l --color twz-point
@echo
twz-point.o: twz-point.c
gcc -c twz-point.c -lm -O3 -msse2 -mfpmath=sse -mmmx -march=native
datapoints-watkins: datapoints-watkins.o
@gcc -w -g -O3 datapoints-watkins.o -o datapoints-watkins -lm -msse2 -mfpmath=sse -mmmx -march=native
@printf " + Compilation successful!\n"
@ls -l --color datapoints-watkins
@echo
datapoints-watkins.o: datapoints-watkins.c
gcc -c datapoints-watkins.c -lm -O3 -msse2 -mfpmath=sse -mmmx -march=native
clean:
rm -rf *.o datapoints-watkins twz-generator twz-generator-threaded twz-point