aboutsummaryrefslogtreecommitdiffstats
path: root/test/bruisertest
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/bruisertest/makefile8
1 files changed, 6 insertions, 2 deletions
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: