1
0
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:
hallgren
2014-08-30 17:00:14 +00:00
parent fcef855ef0
commit 6494313a14

7
examples/app/Makefile2 Normal file
View 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