[sr-dev] git:master:8370cd94: core: added new root Makefile

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 7 14:05:46 CET 2016


Module: kamailio
Branch: master
Commit: 8370cd94dc3ef420f968cd7a368926609b5f8eae
URL: https://github.com/kamailio/kamailio/commit/8370cd94dc3ef420f968cd7a368926609b5f8eae

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-12-07T12:35:10+01:00

core: added new root Makefile

- forward make commands to src/ subfolder

---

Added: Makefile

---

Diff:  https://github.com/kamailio/kamailio/commit/8370cd94dc3ef420f968cd7a368926609b5f8eae.diff
Patch: https://github.com/kamailio/kamailio/commit/8370cd94dc3ef420f968cd7a368926609b5f8eae.patch

---

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..04a1215
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+#
+# Root Makefile for Kamailio project
+# - forward all commands to the Makefile in the src/ subfolder
+#
+
+# path to the source code folder
+KSR_DIR ?= src/
+
+# default target for makefile
+.DEFAULT_GOAL := default
+
+# forward all named targets
+%:
+	$(MAKE) -C $(KSR_DIR) "$@"
+
+# forward the default target
+default:
+	$(MAKE) -C $(KSR_DIR)




More information about the sr-dev mailing list