Selaa lähdekoodia

core: added new root Makefile

- forward make commands to src/ subfolder
Daniel-Constantin Mierla 8 vuotta sitten
vanhempi
commit
8370cd94dc
1 muutettua tiedostoa jossa 18 lisäystä ja 0 poistoa
  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)