Commit graph

14 commits

Author SHA1 Message Date
Adam Kolakowski a34abeeaee Remove GUICommon dependency from Makefile
Removes any GUI related dependencies from the Makefile
that is intended to build only console (GUI-less)
applications.
As a result developers can just install wxGTK-base-dev
to compile a solution on embedded devies instead of
a full wxGTK-dev that weights a ton.
2020-06-02 17:25:26 +02:00
Christoph Kottke 5769416fbe update for PR #53
- the quotes need to preserve, i think

  compile tested on x86_64
2020-05-29 07:30:45 +02:00
Adam Kolakowski 41e01d4f34 Adds DESTDIR build variable
Setting DESTDIR on `make install` allows for installing artefacts
in staging location for automated build, packaging etc.
2020-05-28 23:13:19 +02:00
Adam Kolakowski 9dc023d947 Adds BUILD make variable for debug/release builds
Introduces a `BUILD` make parameter to allow for building both debug
and release variants from the same Makefile. This also makes the
Makefile-defined preprocessor macros more in line with those from
Visual Studio build.

Minor changes:
* allows for overwriting LOGDIR, CONFDIR, BINDIR and DATADIR from
  command line (make parameter)
* converts BUILD to Markdown for better visibility on Github
* improves Linux build instructions in BUILD.md
2020-05-28 21:13:16 +02:00
Geoffrey Merck F4FXL - KC3FRA a76f07ca0e Add installation of systemd files for opendv andempty config for gateway 2019-05-04 07:19:59 +02:00
Geoffrey Merck F4FXL - KC3FRA 544ce6c020 Add TARGEt parameter to build dl5di drop in replacement 2019-05-04 06:53:56 +02:00
Geoffrey Merck F4FXL - KC3FRA 59a9832e5d Undefined XLX_USE_WGET as it will not run under windows
Updated Makefile to link with wx net
2019-03-24 06:42:13 +01:00
Geoffrey Merck F4FXL - KC3FRA dcb5b4b455 Add empty targets for dependencies in sub make file
This forces make to check if dependency (eg ../Common/Common.a) is more
recent than the target
2018-11-11 18:35:30 +01:00
Geoffrey Merck F4FXL - KC3FRA 86744087a4 Force crawling of sub-makes for changed dependencies
Inspired by
https://stackoverflow.com/questions/31293557/how-to-tell-make-to-watch-dependencies-of-a-sub-make-target

Also make install, clean and all PHONY targets
2018-11-11 17:12:05 +01:00
Geoffrey Merck F4FXL - KC3FRA 356b94e126 Use $(MAKE) variable
This allow to use make -jx flag to parallelize build otherwise the -j
flag was not propagated to sub make
2018-11-06 19:52:17 +01:00
Jonathan Naylor 8bb96536d1 Add optional DCS_LINK and DEXTRA_LINK to the Makefiles. 2018-07-19 19:07:03 +01:00
Jonathan Naylor 0f3c92b67a Only build CLI versions except for when needed. 2018-05-16 22:15:11 +01:00
Jonathan Naylor 2af8d017fd Add package installation. 2018-05-15 21:19:47 +01:00
Jonathan Naylor bb602947f4 The beginning of Linux build support. 2018-05-15 19:32:38 +01:00