From 3fdc87fcd86803603ff8cf58e23dfdeafcffec82 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 29 Jul 2017 19:09:53 +0430 Subject: smoke test for m0 cpp --- test/m0-cpp-smoke/makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/m0-cpp-smoke/makefile (limited to 'test/m0-cpp-smoke/makefile') 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." + -- cgit v1.2.3