From e4a0ae70f3a5c3a5673c20e8fa942248ea667b8c Mon Sep 17 00:00:00 2001 From: Mesar Hameed Date: Tue, 20 Dec 2011 19:29:10 +0000 Subject: [PATCH] Makefile: pull out common files into a variable. Makes it easier to see where speak_SOURCES and libspeak_SOURCES differ. --- src/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Makefile b/src/Makefile index c14ed86c..2bd6f74d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -70,16 +70,16 @@ endif endif endif -speak_SOURCES = speak.cpp compiledict.cpp dictionary.cpp intonation.cpp \ - readclause.cpp setlengths.cpp numbers.cpp synth_mbrola.cpp \ - synthdata.cpp synthesize.cpp translate.cpp mbrowrap.cpp \ - tr_languages.cpp voices.cpp wavegen.cpp phonemelist.cpp klatt.cpp sonic.cpp - -libespeak_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp \ +common_SOURCES = compiledict.cpp dictionary.cpp intonation.cpp \ readclause.cpp setlengths.cpp numbers.cpp synth_mbrola.cpp \ synthdata.cpp synthesize.cpp translate.cpp mbrowrap.cpp \ tr_languages.cpp voices.cpp wavegen.cpp phonemelist.cpp \ - espeak_command.cpp event.cpp fifo.cpp $(WAVE) debug.cpp klatt.cpp sonic.cpp + klatt.cpp sonic.cpp + +speak_SOURCES = speak.cpp $(common_SOURCES) + +libespeak_SOURCES = speak_lib.cpp $(common_SOURCES) \ + espeak_command.cpp event.cpp fifo.cpp $(WAVE) debug.cpp SRCS1=$(speak_SOURCES) OBJS1=$(patsubst %.cpp,%.o,$(SRCS1))