forked from GitHub/gf-core
examples/app/Makefile2: simplifed Makefile for the App grammar (doesn't work yet)
This makefile just calls GF once and lets GF figure out in which order to compile things. It uses the -j flag to enable parallel compilation and specifies an explicit -path, overriding the -path flags in the source files. This allows all needed modules to be found automatically and ensures that that alltenses is consistently used everywhere. But for some reason, this doesn't work...
This commit is contained in:
7
examples/app/Makefile2
Normal file
7
examples/app/Makefile2
Normal file
@@ -0,0 +1,7 @@
|
||||
P=../phrasebook
|
||||
L=../../lib/src
|
||||
GFPATH=$L/chunk:$L/translator:$L/finnish/stemmed:$L/finnish:$P
|
||||
I=-i $P
|
||||
|
||||
App.pgf::
|
||||
gf -s -make -j +RTS -N4 -A20M -RTS -path=$(GFPATH) -gfo-dir gfo App???.gf
|
||||
Reference in New Issue
Block a user