HyriseSQLParser/benchmark/Makefile
Pedro Flemming 5e6cd2d84f Extend test suite. Build with -O3 by default. (#42)
* Change benchmarks and add -O3 to build
* Extended test suite. Makefile now buidls with -O3 by default. Added Makefile flag (mode=debug) to build with -g instead.
2017-05-26 15:18:52 -07:00

18 lines
364 B
Makefile

SRC = ./
CPP = $(shell find $(SRC) -name '*.cpp')
CFLAGS = -std=c++11 -lstdc++ -Wall -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