Add DEBUG to make file

This commit is contained in:
2018-01-08 18:39:58 +01:00
parent 6a236293ff
commit 3585013d33
+3
View File
@@ -14,6 +14,9 @@ OBJS = $(patsubst $(SRC_DIR)/%.cpp, $(OBJ_DIR)/%.o, $(SRCS))
all: build_dirs h5_zmq_writer
debug: CPPFLAGS += -DDEBUG -g
debug: all
h5_zmq_writer: $(OBJS)
$(CPP) $(LDFLAGS) -o $(BIN_DIR)/h5_zmq_writer $(OBJS) $(LDLIBS)