From d91d6b2f384e1142839fa036b1ccb0acc728ec30 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 29 Jul 2017 18:31:46 +0430 Subject: fixed --- test/bruisertest/makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/bruisertest/makefile b/test/bruisertest/makefile index c8b1c3e..1b0859b 100644 --- a/test/bruisertest/makefile +++ b/test/bruisertest/makefile @@ -1,14 +1,18 @@ BRUISER_TEST=test CXX?=clang++ +# you should change the include path to one that is right for you +CXX_FLAGS=-I/usr/lib/gcc/x86_64-redhat-linux/6.3.1/include .DEFAULT:all clean +.PHONY:all clean $(BRUISER_TEST) help + all:$(BRUISER_TEST) .cpp.o: - $(CXX) $(CXX_FLAGS) -c $< -o $@ -I/usr/include + $(CXX) $(CXX_FLAGS) -c $< -o $@ -$(BRUISER_TEST): test.cpp +$(BRUISER_TEST): test.o $(CXX) $^ $(LD_FLAGS) -o $@ clean: -- cgit v1.2.3