2017-03-06 18:30:35 +01:00
|
|
|
|
2017-04-09 13:34:40 +02:00
|
|
|
SRC = ./
|
|
|
|
CPP = $(shell find $(SRC) -name '*.cpp')
|
|
|
|
|
2017-06-14 20:17:22 +02:00
|
|
|
CFLAGS = -std=c++11 -lstdc++ -Wall -Werror -I../src/ -L../ -O3
|
2017-03-06 18:30:35 +01:00
|
|
|
|
|
|
|
all: parser_benchmark
|
|
|
|
|
|
|
|
run: parser_benchmark
|
2017-05-27 00:18:52 +02:00
|
|
|
@export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../ &&\
|
|
|
|
./parser_benchmark
|
2017-03-06 18:30:35 +01:00
|
|
|
|
2017-04-09 13:34:40 +02:00
|
|
|
parser_benchmark: $(CPP)
|
|
|
|
$(CXX) $(CFLAGS) $(CPP) -o parser_benchmark -lbenchmark -lpthread -lsqlparser
|
2017-03-06 18:30:35 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f parser_benchmark
|