Parcourir la source

Adding Makefile

Benjamin Collet il y a 5 ans
Parent
commit
9abf1b9604
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  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