summaryrefslogtreecommitdiff
path: root/examples/gfcc/compiler/makefile
diff options
context:
space:
mode:
authoraarne <unknown>2004-11-08 09:22:37 +0000
committeraarne <unknown>2004-11-08 09:22:37 +0000
commit7dd63a449f9683e56d310148cadd813599323a0b (patch)
tree340bc2ebe4e9998269e06ac296ab3cbc02515e2c /examples/gfcc/compiler/makefile
parent2bd22e078aa0205f60bb414d2e7f17d73db1eaea (diff)
completing for release
Diffstat (limited to 'examples/gfcc/compiler/makefile')
-rw-r--r--examples/gfcc/compiler/makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/gfcc/compiler/makefile b/examples/gfcc/compiler/makefile
index cc175731b..f578e5d47 100644
--- a/examples/gfcc/compiler/makefile
+++ b/examples/gfcc/compiler/makefile
@@ -1,7 +1,7 @@
GF=gf
SRC=../
-all: compiler
+all: parser gfcm
compiler:
echo "pm | wf Imper.gfcm ;; pg -lang=ImperC -printer=plbnf | wf ImperC.tmp" | $(GF) $(SRC)ImperC.gf $(SRC)ImperJVM.gf
@@ -11,3 +11,9 @@ compiler:
make -f Makefile
rm *.tmp
jasmin runtime.j
+
+parser:
+ ghc --make TestImperC.hs -o TestImperC
+
+gfcm:
+ echo "pm | wf Imper.gfcm" | $(GF) $(SRC)ImperC.gf $(SRC)ImperJVM.gf