summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f561270..e729fb7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,13 +1,22 @@
+INCLUDES = \
+ -I$(srcdir)/../libs/domc/src/ \
+ -I$(srcdir)/../libs/libmba/src/
+
bin_PROGRAMS = rtfx
rtfx_SOURCES = rtfx.cpp levelhandler.cpp levelhandler.h \
reference.h xmlcomposer.cpp xmlcomposer.h xmlcomposehelpers.cpp rtfformatting.h \
xmlcomposehelpers.h rtfparser.cpp rtfparser.h domcxx.h usuals.h utf8.cpp internal.h \
xmlfixups.h xmlfixups.cpp domhelpers.h domhelpers.cpp tags.h
+
rtfx_LDADD = -ldomc -lmba
-rtfx_CXXFLAGS = -I$(srcdir)/../libs/domc/src/ -I$(srcdir)/../libs/libmba/src/
-rtfx_LDFLAGS = -L/usr/local/lib -L$(srcdir)/../libs/libmba/ -L$(srcdir)/../libs/domc/
+
+rtfx_LDFLAGS = \
+ -L/usr/local/lib \
+ -L$(srcdir)/../libs/libmba/ \
+ -L$(srcdir)/../libs/domc/
+
man_MANS = rtfx.1
EXTRA_DIST = $(man_MANS)