-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (35 loc) · 1.21 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Package Installer and basic configuration
APT = sudo apt install
PACMAN = sudo pacman -S
all : show_help
show_help :
@echo "Please run the command: make 'option'"
@echo "considering these two options:"
@echo "\tmake apt"
@echo "\tmake pacman"
# apt installation
apt : apt_update
@$(APT) vim
@$(APT) curl
@curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
@$(APT) build-essential cmake vim-nox python3-dev
@$(APT) mono-complete golang nodejs openjdk-17-jdk openjdk-17-jre npm
@wget -O ~/.vimrc https://raw.githubusercontent.com/Carlos-SE/vimrc/master/vimrc
@vim -c "PlugInstall"
@python3 ~/.vim/plugged/YouCompleteMe/install.py --all
apt_update :
@sudo apt update
# pacman installation
pacman : pacman_update
$(PACMAN) vim
$(PACMAN) curl
@curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$(PACMAN) base-devel python3 cmake python-pip
$(PACMAN) go jdk-openjdk npm
@wget -O ~/.vimrc https://raw.githubusercontent.com/Carlos-SE/vimrc/master/vimrc
@vim -c "PlugInstall"
@python3 ~/.vim/plugged/YouCompleteMe/install.py --all
pacman_update :
@sudo pacman -Syu