aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile26
1 files changed, 24 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 50f836d..45fd82e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,6 +1,28 @@
-.PHONY: all zsh
+include dotfiles.mk
-all: zsh
+MODULES=xmodmap
+
+.PHONY: all clean $(MODULES) zsh
+
+all: $(MODULES)
+
+clean: $(addsuffix -clean,$(MODULES))
+stow: $(addsuffix -stow,$(MODULES))
zsh:
$(MAKE) -C $@
+
+###########
+# Xmodmap #
+###########
+
+xmodmap: Xmodmap/.Xmodmap
+
+Xmodmap/.Xmodmap: Xmodmap/Xmodmap.org
+ $(call tangle,fundamental)
+
+xmodmap-clean:
+ rm -f Xmodmap/.Xmodmap
+
+xmodmap-stow:
+ stow/usr/bin/stow-home Xmodmap