summaryrefslogtreecommitdiff
path: root/examples/tutorial/embedded/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial/embedded/Makefile')
-rw-r--r--examples/tutorial/embedded/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/examples/tutorial/embedded/Makefile b/examples/tutorial/embedded/Makefile
index 787c75e69..119d5d0fe 100644
--- a/examples/tutorial/embedded/Makefile
+++ b/examples/tutorial/embedded/Makefile
@@ -1,18 +1,11 @@
-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
+all:
+ gfc --make -haskell MathEng.gf MathFre.gf
ghc --make -o ./math TransferLoop.hs
strip math
clean:
- rm -f *.gfc *.gfr *.o *.hi
+ rm -f *.gfo *.o *.hi
distclean:
- rm -f GSyntax.hs math math.gfcm *.gfc *.gfr *.o *.hi
+ rm -f GSyntax.hs math Math.gfcc *.gfo *.o *.hi