summaryrefslogtreecommitdiff
path: root/examples/dragmap/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dragmap/config.mk')
-rwxr-xr-xexamples/dragmap/config.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/dragmap/config.mk b/examples/dragmap/config.mk
new file mode 100755
index 0000000..433163a
--- /dev/null
+++ b/examples/dragmap/config.mk
@@ -0,0 +1,15 @@
+BOOST_LIBRARIES := system filesystem date_time thread iostreams regex program_options
+
+ifneq (,$(BOOST_ROOT))
+BOOST_INCLUDEDIR?=$(BOOST_ROOT)/include
+BOOST_LIBRARYDIR?=$(BOOST_ROOT)/lib
+endif # ifneq (,$(BOOST_ROOT))
+
+ifneq (,$(BOOST_INCLUDEDIR))
+CPPFLAGS += -I $(BOOST_INCLUDEDIR)
+endif
+
+ifneq (,$(BOOST_LIBRARYDIR))
+LDFLAGS += -L $(BOOST_LIBRARYDIR)
+endif
+LDFLAGS += $(BOOST_LIBRARIES:%=-lboost_%)