From 2c60a2d82a0d7b90924e7dbbcacf36afb8549d17 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 23 Sep 2004 14:41:42 +0000 Subject: Ints n --- examples/gfcc/compiler/makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/gfcc/compiler/makefile (limited to 'examples/gfcc/compiler/makefile') diff --git a/examples/gfcc/compiler/makefile b/examples/gfcc/compiler/makefile new file mode 100644 index 000000000..754f77f51 --- /dev/null +++ b/examples/gfcc/compiler/makefile @@ -0,0 +1,12 @@ +GF=gf+ +SRC=../ + +all: compiler + +compiler: + echo "pm | wf Imper.gfcm ;; pg -lang=ImperC -printer=lbnf | wf ImperC.tmp" | $(GF) $(SRC)ImperC.gf $(SRC)ImperJVM.gf + echo "entrypoints Program, Stm, Exp ;" >entry.tmp + cat entry.tmp ImperC.tmp >ImperC.cf + bnfc -m -prof ImperC.cf + make -f Makefile + rm *.tmp -- cgit v1.2.3