Explorar o código

Adding Makefile

Benjamin Collet %!s(int64=5) %!d(string=hai) anos
pai
achega
9abf1b9604
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      Makefile

+ 8 - 0
Makefile

@@ -0,0 +1,8 @@
+FOLDERS = if-down.d if-pre-up.d if-up.d
+DEST=/etc/network
+
+all: $(foreach f, $(FOLDERS), link-file-$(f))
+
+
+link-file-%: %
+	@ln -snf $(CURDIR)/$</netns $(DEST)/$</netns