diff options
| author | Dave Tang <davetingpongtang@gmail.com> | 2026-06-22 20:12:06 +0900 |
|---|---|---|
| committer | Dave Tang <davetingpongtang@gmail.com> | 2026-06-22 20:12:06 +0900 |
| commit | 319f10b1f20170adf7efa05938b6bb23584c4729 (patch) | |
| tree | f3a680d1a91c232f4b71912dbca4581056ad8477 /examples/dragmap/config.mk | |
GNU Make notes
Diffstat (limited to 'examples/dragmap/config.mk')
| -rwxr-xr-x | examples/dragmap/config.mk | 15 |
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_%) |
