aboutsummaryrefslogtreecommitdiffstats
path: root/test/m0-cpp-smoke/makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/m0-cpp-smoke/makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/m0-cpp-smoke/makefile b/test/m0-cpp-smoke/makefile
new file mode 100644
index 0000000..dfec4a2
--- /dev/null
+++ b/test/m0-cpp-smoke/makefile
@@ -0,0 +1,24 @@
+TARGET=m0-cpp-smoke
+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 -std=c++14
+
+.DEFAULT:all clean
+
+.PHONY:all clean $(TARGET) help
+
+all:$(TARGET)
+
+.cpp.o:
+ $(CXX) $(CXX_FLAGS) -c $< -o $@
+
+$(TARGET): m0-cpp-smoke.o
+ $(CXX) $^ $(LD_FLAGS) -o $@
+
+clean:
+ rm -f *.o *~ $(TARGET)
+
+help:
+ @echo "the makfile for the bruiser test file."
+ @echo "there is the taget itself, all and clean."
+