aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b6bec53..87c4235 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,13 +8,15 @@ STOW=stow
all: $(MODULES)
clean: $(addsuffix -clean,$(MODULES))
-stow: $(addsuffix -stow,$(MODULES))
zsh:
$(MAKE) -C $@
-%-stow:
- $(STOW) $(subst -stow,,$@)
+%-install: %
+ $(STOW) $^
+
+%-uninstall:
+ $(STOW) -D $(subst -uninstall,,$@)
###########
# Compton #