aboutsummaryrefslogblamecommitdiffstats
path: root/gcc/Makefile
blob: f1144030b54bdcc66ddb0799cbc4b908ed02dfc9 (plain) (tree)
1
2
3
4
5
6
7
       
                    




                                                                      




                                                                             



                                          



                                

                         
.POSIX:
include ../common.mk

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:
	-unlink -- ~/.config/profile.d/gcc
	-rmdir -- ~/.config/profile.d
	-unlink -- ~/.local/bin/
	-unlink -- ~/.local/bin/
	-unlink -- ~/.local/bin/
	-unlink -- ~/.local/bin/

.PHONY: install uninstall