-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (19 loc) · 635 Bytes
/
Makefile
File metadata and controls
24 lines (19 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
C = gcc
CXXFLAGS = -pthread -march=native
CXX = g++
CXXFLAGS = -pthread -std=c++11 -march=native
#OBJS = build/sqlite.o
INCLUDES = -I./src/sqib
opt: CXXFLAGS += -O3 -funroll-loops -DNDEBUG
opt: test_sqlite_blaster
debug: CXXFLAGS += -g -O0 -fno-inline
# -fsanitize=address -static-libsan
debug: test_sqlite_blaster
test_sqlite_blaster: test_sqlite_blaster.cpp src/sqib/*.h
$(CXX) $(CXXFLAGS) $(INCLUDES) -o test_sqlite_blaster test_sqlite_blaster.cpp
clean:
rm test_sqlite_blaster
rm -f tests_out/*.db
rm -f tests_out/*.txt
#build/.o: src/imain.cpp src/*.h
# $(CXX) $(CXXFLAGS) $(INCLUDES) -c src/imain.cpp -o build/imain.o