Makefile: pull out common files into a variable.

Makes it easier to see where speak_SOURCES and libspeak_SOURCES differ.
This commit is contained in:
Mesar Hameed
2011-12-21 21:23:06 +00:00
parent ea858d2b28
commit e4a0ae70f3
+7 -7
View File
@@ -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))