Adding Makefile

This commit is contained in:
Benjamin Collet 2019-01-25 17:37:44 +01:00
parent f5ed5353ec
commit 9abf1b9604

8
Makefile Normal file
View file

@ -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