summaryrefslogtreecommitdiff
path: root/examples/query/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/query/Makefile')
-rw-r--r--examples/query/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/query/Makefile b/examples/query/Makefile
new file mode 100644
index 000000000..08ab63ae1
--- /dev/null
+++ b/examples/query/Makefile
@@ -0,0 +1,15 @@
+#GF=/users/mdstud/ltec06/GF
+GF=/home/aarne/GF
+
+all:
+ make gf ; make ghc
+ghc:
+ ghc -fglasgow-exts --make UseDatabase.hs -o query ; strip query
+gf:
+ echo "pg -printer=haskell | wf GSyntax.hs ;; pm | wf database.gfcm" | gf DatabaseEng.gf
+link:
+ ln -s $(GF)/src/GF
+ ln -s $(GF)/src/Transfer
+# export GF_LIB_PATH=$(GF)/lib
+clean:
+ rm *.hi *.o