-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
45 lines (28 loc) · 934 Bytes
/
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
CXXFLAGS:=-std=gnu++17 -Wall -O3 -MMD -MP -ggdb -pthread -fopenmp -Iext/flat_hash_map
PROGRAMS = test exception smartfp string thread memory windex windex-par classes templates lambdas multi move rest
all: $(PROGRAMS)
clean:
rm -f *~ *.o *.d test $(PROGRAMS)
-include *.d
test: test.o
g++ -std=gnu++17 $^ -o $@ -pthread -fopenmp
smartfp: smartfp.o
g++ -std=gnu++17 $^ -o $@ -pthread -fopenmp
memory: memory.o
g++ -std=gnu++17 $^ -o $@ -pthread -fopenmp
windex: windex.o
g++ -std=gnu++17 $^ -o $@ -pthread
windex-par: windex-par.o
g++ -std=gnu++17 $^ -o $@ -pthread -fopenmp
classes: classes.o
g++ -std=gnu++17 $^ -o $@ -pthread
templates: templates.o
g++ -std=gnu++17 $^ -o $@ -pthread
lambdas: lambdas.o
g++ -std=gnu++17 $^ -o $@ -pthread
multi: multi.o
g++ -std=gnu++17 $^ -o $@ -pthread
move: move.o
g++ -std=gnu++17 $^ -o $@ -pthread
rest: rest.o
g++ -std=gnu++17 $^ -o $@ -pthread