From 319a62d73f0d6fd8262c606b071499be26f472b1 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 15 May 2015 23:04:09 +0300 Subject: [PATCH] fixed tests makefile --- tests/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 5f841a85..5be7be50 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -5,15 +5,16 @@ LDPFALGS = -pthread CPP_FILES := $(wildcard *.cpp) OBJ_FILES := $(addprefix ./,$(notdir $(CPP_FILES:.cpp=.o))) - -tests: $(OBJ_FILES) + +tests: $(OBJ_FILES) $(CXX) $(CXXFLAGS) $(LDPFALGS) -o $@ $^ + mkdir -p logs %.o: %.cpp $(CXX) $(CXXFLAGS) -c -o $@ $< clean: - rm -f tests *.o logs/* + rm -f tests *.o logs/*.txt rebuild: clean tests