From d3d1d20a8abff15d35c188a22d0ecb77b63351fc Mon Sep 17 00:00:00 2001 From: hallgren Date: Sat, 30 Aug 2014 17:00:14 +0000 Subject: [PATCH] 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... --- examples/app/Makefile2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/app/Makefile2 diff --git a/examples/app/Makefile2 b/examples/app/Makefile2 new file mode 100644 index 000000000..8bea9f20d --- /dev/null +++ b/examples/app/Makefile2 @@ -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