summaryrefslogtreecommitdiffstats
path: root/manuals_and_examples/examples/c++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'manuals_and_examples/examples/c++/Makefile')
-rw-r--r--manuals_and_examples/examples/c++/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/manuals_and_examples/examples/c++/Makefile b/manuals_and_examples/examples/c++/Makefile
index 9ce9174..9dfd548 100644
--- a/manuals_and_examples/examples/c++/Makefile
+++ b/manuals_and_examples/examples/c++/Makefile
@@ -33,16 +33,18 @@
##################################################################
######################### Definitions ############################
-# RMANHOME will be updated with a proper value after "make install"
-RMANHOME=~~~rmanhome~~~
+# These will be updated with a proper value after "make install"
+pkgincludedir = @pkgincludedir@
+pkglibdir = @pkglibdir@
+
# RasDaMan central includes
-CXXFLAGS += -I$(RMANHOME)/include
+CXXFLAGS += -I$(pkgincludedir)
CXXFLAGS += -DLINUX -DEARLY_TEMPLATE
# add communication flags
CXXFLAGS += -DONCRPC
# libraries needed for linkage (in particular: rasdaman + exchange formats)
-LIBS += -L/usr/lib -L$(RMANHOME)/lib \
+LIBS += -L/usr/lib -L$(pkglibdir) \
-lclientcomm -lrasodmg -lcompression -lconversion -lclientcomm -lrasodmg -lraslib \
-lnetwork -lnetpbm -ljpeg -lpng -ltiff -lmfhdf -ldf -lcrypto \
-lm -lz