Browse code

core: added new root Makefile

- forward make commands to src/ subfolder

Daniel-Constantin Mierla authored on 07/12/2016 11:35:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+#
2
+# Root Makefile for Kamailio project
3
+# - forward all commands to the Makefile in the src/ subfolder
4
+#
5
+
6
+# path to the source code folder
7
+KSR_DIR ?= src/
8
+
9
+# default target for makefile
10
+.DEFAULT_GOAL := default
11
+
12
+# forward all named targets
13
+%:
14
+	$(MAKE) -C $(KSR_DIR) "$@"
15
+
16
+# forward the default target
17
+default:
18
+	$(MAKE) -C $(KSR_DIR)