HyriseSQLParser/benchmark/Makefile

18 lines
372 B
Makefile
Raw Normal View History

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
all: parser_benchmark
run: parser_benchmark
@export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../ &&\
./parser_benchmark
parser_benchmark: $(CPP)
$(CXX) $(CFLAGS) $(CPP) -o parser_benchmark -lbenchmark -lpthread -lsqlparser
clean:
rm -f parser_benchmark