summaryrefslogtreecommitdiff
path: root/org.eclipse.linuxtools.gcov.test/test_cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.linuxtools.gcov.test/test_cpp/Makefile')
-rw-r--r--org.eclipse.linuxtools.gcov.test/test_cpp/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.linuxtools.gcov.test/test_cpp/Makefile b/org.eclipse.linuxtools.gcov.test/test_cpp/Makefile
new file mode 100644
index 0000000..e3c2b86
--- /dev/null
+++ b/org.eclipse.linuxtools.gcov.test/test_cpp/Makefile
@@ -0,0 +1,8 @@
+build a.out:
+ g++ -fprofile-arcs -ftest-coverage *.cpp
+
+all: a.out
+ ./$< 1 2 3 4 5 6
+
+clean:
+ rm -f *.o a.out *.gcno *.gcda