model for resource

This commit is contained in:
aarne
2007-02-28 15:49:13 +00:00
parent e03c2cb4ad
commit 18c97fa5c0
11 changed files with 798 additions and 0 deletions

17
examples/model/Makefile Normal file
View File

@@ -0,0 +1,17 @@
all: gf hs run
gf:
echo "pm | wf math.gfcm" | gf MathEng.gf MathFre.gf
hs: gf
echo "pg -printer=haskell | wf GSyntax.hs" | gf math.gfcm
run: hs
ghc --make -o math Run.hs
clean:
rm -f *.gfc *.gfr *.o *.hi
distclean:
rm -f GSyntax.hs math math.gfcm *.gfc *.gfr *.o *.hi