浏览代码

core: added new root Makefile

- forward make commands to src/ subfolder
Daniel-Constantin Mierla 8 年之前
父节点
当前提交
8370cd94dc
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      Makefile

+ 18 - 0
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)