-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (16 loc) · 835 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
BINARIES := hll
all: $(BINARIES)
OBJ = main.o count_min_sketch.o pq_array.o
CFLAGS := $(CFLAGS) -march=native -fopenmp -funroll-loops -fipa-bit-cp -ftree-loop-vectorize -ftree-slp-vectorize -ftracer -fsplit-loops -funswitch-loops -O
clean:
rm -f *.o $(BINARIES)
tags:
etags *.h *.c *.cc
%.o: %.cpp
g++ -c $(CFLAGS) $< -o $@ -march=native -fopenmp -funroll-loops -fipa-bit-cp -ftree-loop-vectorize -ftree-slp-vectorize -ftracer -fsplit-loops -funswitch-loops -O
%.o: %.cpp
gcc -c $(CFLAGS) $< -o $@ -march=native -fopenmp -funroll-loops -fipa-bit-cp -ftree-loop-vectorize -ftree-slp-vectorize -ftracer -fsplit-loops -funswitch-loops -O
hll: $(OBJ)
g++ $(CFLAGS) $^ -o $@ -march=native -fopenmp -funroll-loops -fipa-bit-cp -ftree-loop-vectorize -ftree-slp-vectorize -ftracer -fsplit-loops -funswitch-loops -O
clean:
rm *.o