1
0
forked from GitHub/gf-core
Files
gf-core/examples/foods/Makefile
hallgren a7e8a566cf Omit -optimize-pgf when compiling small example grammars
The minibar lets the user choose any category as the start category, but this
can lead to run-time errors for grammars compiled with -optimize-pgf.

The problem can also be observed in the GF shell. For example, 
"linearize Fish" (which means that the start category is Kind) fails for 
some languages when Foods.pgf is compiled with -optimize-pgf.
2015-05-21 14:44:20 +00:00

9 lines
98 B
Makefile

all:: Foods.pgf
Foods.pgf: Foods???.gf
gf -make -s Foods???.gf
clean:
rm -rf *.gfo Foods.pgf