Module: kamailio
Branch: master
Commit: 8370cd94dc3ef420f968cd7a368926609b5f8eae
URL:
https://github.com/kamailio/kamailio/commit/8370cd94dc3ef420f968cd7a3689266…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/8370cd94dc3ef420f968cd7a3689266…
Patch:
https://github.com/kamailio/kamailio/commit/8370cd94dc3ef420f968cd7a3689266…
---
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)