# Project:   Speak3


# Toolflags:
CCflags = -c -C90 -depend !Depend -IC: -throwback -zM
C++flags = -c -depend !Depend -IC: -throwback -zM
Linkflags = -rmf -c++ -o $@
ObjAsmflags = -throwback -NoCache -depend !Depend
CMHGflags = 
LibFileflags = -c -o $@
Squeezeflags = -o $@


# Final targets:
@.speakmod:   @.o.speak_riscos @.o.compiledict @.o.dictionary \
        @.o.intonation @.o.readclause @.o.setlengths @.o.synthdata \
        @.o.synthesize @.o.translate  @.o.tr_languages @.o.numbers \
	@.o.synth_mbrola \
        @.o.tr_english @.o.wavegen @.o.voices @.o.assemb @.o.cmhgfile
        Link $(Linkflags) C:o.stubs C:o.c++lib @.o.speak_riscos @.o.compiledict \
        @.o.dictionary @.o.intonation @.o.readclause @.o.setlengths \
        @.o.synthdata @.o.synthesize @.o.numbers @.o.synth_mbrola \
        @.o.translate @.o.tr_english @.o.wavegen @.o.tr_languages \
        @.o.voices @.o.assemb @.o.cmhgfile


# User-editable dependencies:

# Static dependencies:
@.o.speak_riscos:   @.cpp.speak_riscos
        c++ $(c++flags) -o @.o.speak_riscos @.cpp.speak_riscos 
@.o.compiledict:   @.cpp.compiledict
        c++ $(c++flags) -o @.o.compiledict @.cpp.compiledict 
@.o.dictionary:   @.CPP.dictionary
        c++ $(c++flags) -o @.o.dictionary @.CPP.dictionary 
@.o.intonation:   @.CPP.intonation
        c++ $(c++flags) -o @.o.intonation @.CPP.intonation
@.o.numbers:   @.CPP.numbers
        c++ $(c++flags) -o @.o.numbers @.CPP.numbers
@.o.readclause:   @.CPP.readclause
        c++ $(c++flags) -o @.o.readclause @.CPP.readclause
@.o.setlengths:   @.CPP.setlengths
        c++ $(c++flags) -o @.o.setlengths @.CPP.setlengths 
@.o.synthdata:   @.CPP.synthdata
        c++ $(c++flags) -o @.o.synthdata @.CPP.synthdata 
@.o.synth_mbrola:   @.CPP.synth_mbrola
        c++ $(c++flags) -o @.o.synth_mbrola @.CPP.synth_mbrola 
@.o.synthesize:   @.CPP.synthesize
        c++ $(c++flags) -o @.o.synthesize @.CPP.synthesize 
@.o.translate:   @.CPP.translate
        c++ $(c++flags) -o @.o.translate @.CPP.translate 
@.o.tr_english:   @.CPP.tr_english
        c++ $(c++flags) -o @.o.tr_english @.CPP.tr_english 
@.o.tr_languages:   @.CPP.tr_languages
        c++ $(c++flags) -o @.o.tr_languages @.CPP.tr_languages 
@.o.voices:   @.CPP.voices
        c++ $(c++flags) -o @.o.voices @.CPP.voices 
@.o.wavegen:   @.CPP.wavegen
        c++ $(c++flags) -o @.o.wavegen @.CPP.wavegen 
@.o.assemb:   @.s.assemb
        objasm $(objasmflags) -from @.s.assemb -to @.o.assemb

# Dynamic dependencies:
o.compiledict:	cpp.compiledict
o.compiledict:	h.StdAfx
o.compiledict:	h.wctype
o.compiledict:	h.speak_lib
o.compiledict:	h.speech
o.compiledict:	h.phoneme
o.compiledict:	h.synthesize
o.compiledict:	h.translate
o.dictionary:	CPP.dictionary
o.dictionary:	h.StdAfx
o.dictionary:	h.wctype
o.dictionary:	h.wchar
o.dictionary:	h.speak_lib
o.dictionary:	h.speech
o.dictionary:	h.phoneme
o.dictionary:	h.synthesize
o.dictionary:	h.translate
o.readclause:	CPP.readclause
o.readclause:	h.StdAfx
o.readclause:	h.wctype
o.readclause:	h.wchar
o.readclause:	h.speak_lib
o.readclause:	h.speech
o.readclause:	h.voice
o.readclause:	h.phoneme
o.readclause:	h.synthesize
o.readclause:	h.translate
o.synth_mbrola:	CPP.synth_mbrola
o.synth_mbrola:	h.StdAfx
o.synth_mbrola:	h.wctype
o.synth_mbrola:	h.speak_lib
o.synth_mbrola:	h.speech
o.synth_mbrola:	h.phoneme
o.synth_mbrola:	h.synthesize
o.synth_mbrola:	h.translate
o.synth_mbrola:	h.voice
o.speak_riscos:	cpp.speak_riscos
o.speak_riscos:	C:h.kernel
o.speak_riscos:	h.speech
o.speak_riscos:	h.speak_lib
o.speak_riscos:	h.voice
o.speak_riscos:	h.phoneme
o.speak_riscos:	h.synthesize
o.speak_riscos:	h.translate
