aboutsummaryrefslogtreecommitdiffstats
path: root/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/Makefile')
-rw-r--r--gcc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/Makefile b/gcc/Makefile
index f114403..cb8791e 100644
--- a/gcc/Makefile
+++ b/gcc/Makefile
@@ -1,5 +1,4 @@
.POSIX:
-include ../common.mk
install:
mkdir -p -- ~/.config/profile.d
@@ -12,11 +11,10 @@ install:
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/
-
-.PHONY: install uninstall