mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
Ints n
This commit is contained in:
12
examples/gfcc/compiler/makefile
Normal file
12
examples/gfcc/compiler/makefile
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user