aboutsummaryrefslogblamecommitdiffstats
path: root/gcc/Makefile
blob: cb8791ee3766d95485642f37bf99211960d66587 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                                                                      




                                                                             

          
                                 

                                          



                                
.POSIX:

install:
	mkdir -p -- ~/.config/profile.d
	test ! -d ~/.config/profile.d/gcc
	ln -sf -- ~/.dotfiles/gcc/user-profile ~/.config/profile.d/gcc
	mkdir -p -- ~/.local/bin
	ln -sf -- ~/.dotfiles/gcc/gcc-extreme ~/.local/bin/
	ln -sf -- ~/.dotfiles/gcc/gcc-extreme-not-pedantic ~/.local/bin/
	ln -sf -- ~/.dotfiles/gcc/gcc-less-extreme ~/.local/bin/
	ln -sf -- ~/.dotfiles/gcc/gcc-less-extreme-not-pedantic ~/.local/bin/

uninstall:
	+! ../check-installed gcc
	-unlink -- ~/.config/profile.d/gcc
	-rmdir -- ~/.config/profile.d
	-unlink -- ~/.local/bin/
	-unlink -- ~/.local/bin/
	-unlink -- ~/.local/bin/
	-unlink -- ~/.local/bin/