summaryrefslogtreecommitdiff
path: root/.vim/Makefile
blob: 6e07c30b8201d43f9bc0e2198a41414eb954ed0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
HOME=/home/urbain
TARGETS=$(addprefix $(HOME)/,.vimrc .vim .vim/vimundo)

all : $(TARGETS)

$(HOME)/.vimrc :
	rm -f $@ && ln -s $(PWD)/vimrc $@

$(HOME)/.vim :
	rm -f $@ && ln -s $(PWD) $@

$(HOME)/.vim/vimundo :
	mkdir -p $@

clean :
	rm -f $(TARGETS)