From 8d6747d0c4900dbdee022f94550158815346b789 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 11 Jul 2018 11:47:10 +0200 Subject: [PATCH] Add perf build --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a401cf2..d62c128 100644 --- a/Makefile +++ b/Makefile @@ -24,9 +24,12 @@ OBJS = $(patsubst $(SRC_DIR)/%.cpp, $(OBJ_DIR)/%.o, $(SRCS)) lib: build_dirs libcpp_h5_writer test: build_dirs build_test -debug: CPPFLAGS += -DDEBUG_OUTPUT -g +debug: CPPFLAGS += -DDEBUG_OUTPUT debug: lib +perf: CPPFLAGS += -DPERF_OUTPUT +perf: lib + libcpp_h5_writer: $(OBJS) $(CPP) $(LDFLAGS) -o $(BIN_DIR)/libcpp_h5_writer.so $(OBJS) $(LDLIBS)