summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/Makefile.talloc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/talloc/Makefile.talloc')
-rw-r--r--source4/lib/talloc/Makefile.talloc16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/lib/talloc/Makefile.talloc b/source4/lib/talloc/Makefile.talloc
new file mode 100644
index 0000000000..88cb0e7159
--- /dev/null
+++ b/source4/lib/talloc/Makefile.talloc
@@ -0,0 +1,16 @@
+OPT = -g -ftest-coverage -fprofile-arcs
+LIBS = -lgcov
+#OPT = -g
+
+CFLAGS = $(OPT) -Wall
+
+all: testsuite
+
+testsuite: talloc.o testsuite.o
+ $(CC) $(CFLAGS) -o testsuite testsuite.o talloc.o $(LIBS)
+
+clean:
+ rm -f *~ *.o testsuite *.gc??
+
+gcov:
+ gcov talloc.c