embedded haskelle example: query

This commit is contained in:
aarne
2006-04-21 09:14:05 +00:00
parent fd70db2c9f
commit fa32f755d6
6 changed files with 224 additions and 3 deletions

15
examples/query/Makefile Normal file
View File

@@ -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