From fb85e44193defa49269164ce457f4c91d92d1528 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 24 Apr 2020 20:49:40 -0700 Subject: Use mask to call into make --- GNUmakefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'GNUmakefile') 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 # -- cgit v1.2.3-54-g00ecf