Browse Source

Adding Makefile

Benjamin Collet 5 years ago
parent
commit
9abf1b9604
1 changed files with 8 additions and 0 deletions
  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