summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/FliteDyn/FliteDyn.pro') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/FliteDyn/FliteDyn.pro10
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro b/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro
index 54927f5..5d03f91 100644
--- a/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro
+++ b/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro
@@ -10,9 +10,17 @@ SOURCES = flitedyn.cpp
INTERFACES =
DESTDIR = $(OPIEDIR)/plugins/reader/outcodecs
TARGET = flitedyn
-LIBS += -L/home/tim/flite/flite-1.2-release/lib -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex -lflite
+LIBS += -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex -lflite
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
include( $(OPIEDIR)/include.pro )
+
+!isEmpty( LIBFLITE_INC_DIR ) {
+ INCLUDEPATH = $$LIBFLITE_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBFLITE_LIB_DIR ) {
+ LIBS = -L$$LIBFLITE_LIB_DIR $$LIBS
+}
+