summaryrefslogtreecommitdiff
path: root/contrib/py-bindings/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/py-bindings/Makefile')
-rw-r--r--contrib/py-bindings/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/py-bindings/Makefile b/contrib/py-bindings/Makefile
index bcf78e572..af627bb2e 100644
--- a/contrib/py-bindings/Makefile
+++ b/contrib/py-bindings/Makefile
@@ -7,6 +7,9 @@ exdir=../../examples/tutorial/embedded
build: gf.so
+test:
+ python test.py
+
gf.so: PyGF.hs gfmodule.c Query.pgf
ghc $(import) --make -fglasgow-exts -O2 -no-hs-main -c $<
ghc -O2 --make -fglasgow-exts -no-hs-main -optl '-shared' \