From d2a5148708a3f270b058403e573106ed1d309957 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 5 Sep 2007 14:05:42 +0000 Subject: modernized parser in EmbedAPI --- examples/tutorial/embedded/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/tutorial/embedded/Makefile (limited to 'examples/tutorial/embedded/Makefile') diff --git a/examples/tutorial/embedded/Makefile b/examples/tutorial/embedded/Makefile new file mode 100644 index 000000000..203795b6a --- /dev/null +++ b/examples/tutorial/embedded/Makefile @@ -0,0 +1,18 @@ +all: gf hs run + +gf: + echo "pm | wf math.gfcm" | gf MathEng.gf MathFre.gf + +hs: gf + echo "pg -printer=haskell | wf haskell/GSyntax.hs" | gf math.gfcm + +run: hs + ghc --make -o ./math -ihaskell haskell/Run.hs + strip math + +clean: + rm -f *.gfc *.gfr haskell/*.o haskell/*.hi + +distclean: + rm -f GSyntax.hs math math.gfcm *.gfc *.gfr haskell/*.o haskell/*.hi + -- cgit v1.2.3