Updated external audio recorder
[sgc2.git] / praat_module / makefile
blobf2207569c8668e9d2820c908c7ba9a000202e01c
1 PRAAT = praat
2 UNAME := $(shell uname -s)
4 ifeq ($(UNAME), Darwin)
5 PRAAT = /Applications/Praat.app/Contents/MacOS/Praat
6 endif
8 all: SpeakGoodChinese2expanded.h TEanalysisManPages.cpp
9 bash makePraat.sh 2>&1
10 bash makePraat.sh MinGW 2>&1
12 SpeakGoodChinese2expanded.praat: ../*.praat ../ToneProt/*.praat
13 perl ./expandPraatScripts.pl ../sgc2.praat > SpeakGoodChinese2expanded.praat
15 %.h: %.praat
16 perl ./praatscript2cprogram.pl $< > $@
18 TEanalysisManPages.cpp: ../ManPages/*.man
19 perl ManPages2CPP.pl ../ManPages/*.man > manual_SpeakGoodChinese2.cpp
21 clean:
22 rm -f *expanded.h
23 rm -f *expanded.praat
24 rm -f *ManPages.cpp