Files
gf-core/examples/phrasebook/Makefile
2010-05-09 14:23:00 +00:00

35 lines
728 B
Makefile

compile = runghc Compile
all: fin demo missing
demo: compdemo linkdemo
compdemo:
$(compile) Bul Dan Dut Eng Fre Ger Ita Nor Ron Swe DisambPhrasebookEng
linkdemo:
$(compile) -link Eng Bul Dan Dut Fin Fre Ger Ita Nor Ron Swe DisambPhrasebookEng
#separate, because slow...
fin:
$(compile) Fin
pgfs:
$(compile) Bul Cat Dan Dut Eng Fin Fre Ger Ita Nor Pol Ron Rus Spa Swe
koe:
$(compile) Eng Fre DisambPhrasebookEng
missing:
echo "pg -missing | wf -file=missing.txt" | gf Phrasebook.pgf
doc:
cat Sentences.gf Words.gf >Ontology.gf
gfdoc Ontology.gf
rm -f Ontology.gf
cat SentencesI.gf WordsEng.gf >Implementation.gf
gfdoc Implementation.gf
txt2tags -thtml phrasebook.txt
rm -f Ontology.gf Implementation.gf