mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Use a variable for the gf command in resource Makefile, to enable easy profiling.
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
GF=gf
|
||||||
|
|
||||||
.PHONY: show-path all test pretest langs present mathematical multimodal compiled treebank stat gfdoc clean
|
.PHONY: show-path all test pretest langs present mathematical multimodal compiled treebank stat gfdoc clean
|
||||||
|
|
||||||
all: show-path present mathematical multimodal langs compiled
|
all: show-path present mathematical multimodal langs compiled
|
||||||
@@ -6,26 +8,26 @@ show-path:
|
|||||||
@echo GF_LIB_PATH=$(GF_LIB_PATH)
|
@echo GF_LIB_PATH=$(GF_LIB_PATH)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
echo "gr -cat=Text -number=11 -prob | tb" | gf -nocf -probs=lang.gfprob langs.gfcm
|
echo "gr -cat=Text -number=11 -prob | tb" | $(GF) -nocf -probs=lang.gfprob langs.gfcm
|
||||||
|
|
||||||
pretest:
|
pretest:
|
||||||
echo "gr -cat=Cl -number=11 -prob | tb" | gf -probs=lang.gfprob -path=present:prelude -nocf ../present/Lang???.gfc
|
echo "gr -cat=Cl -number=11 -prob | tb" | $(GF) -probs=lang.gfprob -path=present:prelude -nocf ../present/Lang???.gfc
|
||||||
|
|
||||||
langs:
|
langs:
|
||||||
echo "s ;; pm | wf langs.gfcm" | gf -nocf -src */Lang??*.gf english/LangEng.gf +RTS -M800M -K100M
|
echo "s ;; pm | wf langs.gfcm" | $(GF) -nocf -src */Lang??*.gf english/LangEng.gf +RTS -p -M800M -K100M
|
||||||
cp -p */*.gfc */*.gfr ../alltenses
|
cp -p */*.gfc */*.gfr ../alltenses
|
||||||
|
|
||||||
present:
|
present:
|
||||||
chmod u+x mkPresent
|
chmod u+x mkPresent
|
||||||
gf -make -src -preproc=./mkPresent */Lang??*.gf
|
$(GF) -make -src -preproc=./mkPresent */Lang??*.gf
|
||||||
mv */*.gfc */*.gfr ../present
|
mv */*.gfc */*.gfr ../present
|
||||||
|
|
||||||
mathematical:
|
mathematical:
|
||||||
gf -make -nocf -preproc=./mkPresent mathematical/Mathematical???.gf
|
$(GF) -make -nocf -preproc=./mkPresent mathematical/Mathematical???.gf
|
||||||
mv mathematical/*.gfc ../mathematical
|
mv mathematical/*.gfc ../mathematical
|
||||||
|
|
||||||
multimodal:
|
multimodal:
|
||||||
gf -make -nocf -preproc=./mkPresent multimodal/Multimodal???.gf
|
$(GF) -make -nocf -preproc=./mkPresent multimodal/Multimodal???.gf
|
||||||
mv multimodal/*.gfc multimodal/*.gfr ../multimodal
|
mv multimodal/*.gfc multimodal/*.gfr ../multimodal
|
||||||
|
|
||||||
compiled:
|
compiled:
|
||||||
|
|||||||
Reference in New Issue
Block a user