1# makefile for libespeak
2
3include ../../makefile.defs
4
5CPPFLAGS += -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat
6
7OBJECTS = categories.o compiledata.o compiledict.o \
8	dictionary.o \
9	encoding.o error.o  espeak_api.o \
10	intonation.o klatt.o  \
11	numbers.o phonemelist.o proplist.o readclause.o setlengths.o speech.o \
12	synthdata.o synthesize.o \
13	synth_mbrola.o tr_languages.o mnemonics.o translate.o voices.o wavegen.o \
14	create_espeak_ng_FileInMemoryManager.o create_espeak_ng_FileInMemorySet.o \
15	espeak_io.o
16
17.PHONY: all clean
18
19all: libespeak.a
20
21clean:
22	$(RM) $(OBJECTS)
23	$(RM) libespeak.a
24
25libespeak.a: $(OBJECTS)
26	touch libespeak.a
27	rm libespeak.a
28	$(AR) cq libespeak.a $(OBJECTS)
29	$(RANLIB) libespeak.a
30
31$(OBJECTS):  *.h ../../kar/*.h ../../melder/*.h ../../sys/*.h ../../dwsys/*.h ../../stat/*.h
32
33