aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 30 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1550bc4..6a759c0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,12 @@ TMUXCONF = .tmux.conf
BASHRC = .bashrc
BASHALIAS = .bash_aliases
PROFILE = .profile
+GHCI = .ghci
+GDB = .gdbinit
+GITCONFIG = .gitconfig
CONFFILES = $(HOME)/$(ZSHRC) $(HOME)/$(VIMRC) $(HOME)/$(TMUXCONF) $(HOME)/$(BASHRC) \
- $(HOME)/$(BASHALIAS) $(HOME)/$(PROFILE)
+ $(HOME)/$(BASHALIAS) $(HOME)/$(PROFILE) $(HOME)/$(GHCI) $(HOME)/$(GDB) \
+ $(HOME)/$(GITCONFIG)
.PHONY: all
all: $(CONFFILES)
@@ -35,9 +39,34 @@ $(HOME)/$(PROFILE): $(DOTDIR)/$(PROFILE)
touch $@
echo "source $<" > $@
+$(HOME)/$(GHCI): $(DOTDIR)/$(GHCI)
+ touch $@
+ cat $< > $@
+
+$(HOME)/$(GDB): $(DOTDIR)/$(GDB)
+ touch $@
+ cat $< > $@
+
+$(HOME)/$(GITCONFIG): $(DOTDIR)/$(GITCONFIG)
+ touch $@
+ cat $< >> $@
+
.PHONY: clean
clean:
rm -f $(CONFFILES)
.PHONY: re
re: clean all
+
+# .PHONY: dependencies
+# dependencies:
+# @echo "Installing vim-plug (plugin manager)"
+# curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
+# https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+# @echo "Installing vim plugins"
+# vim -c "PlugInstall" -c "qa"
+# @echo "Installing oh-my-zsh"
+ # sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
+ # @echo "Installing zsh-syntax-highlighting"
+ # git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \
+ # ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting