]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/papers/use_case/stats/parse/Makefile
added parse test for
[helm.git] / helm / papers / use_case / stats / parse / Makefile
diff --git a/helm/papers/use_case/stats/parse/Makefile b/helm/papers/use_case/stats/parse/Makefile
new file mode 100644 (file)
index 0000000..9c889e0
--- /dev/null
@@ -0,0 +1,13 @@
+CC = gcc
+LIBXML_FLAGS = `pkg-config --cflags --libs libxml-2.0`
+EXPAT_FLAGS = -lexpat
+BIN = parse_expat parse_xmlreader parse_xmlsax
+all: $(BIN)
+clean:
+       rm -f $(BIN)
+parse_expat: parse_expat.c
+       $(CC) $(EXPAT_FLAGS) -o $@ $<
+parse_xmlreader: parse_xmlreader.c
+       $(CC) $(LIBXML_FLAGS) -o $@ $<
+parse_xmlsax: parse_xmlsax.c
+       $(CC) $(LIBXML_FLAGS) -o $@ $<