From 76dce9a62c564070eb7a079a37a05ba5eb2355cf Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Fri, 9 Feb 2024 11:35:20 +0100 Subject: some things --- Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..71a9ebc --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +M4 := m4 +M4_OPTS := -P +M4_COMMON_DEPS = system.m4 + +define M4_EXEC + ${M4} ${M4_OPTS} $< > $@ +endef + +TARGETS := linux/tmux.conf \ + Common/zshrc \ + linux/qtile/config/config.py + +all: $(TARGETS) + +linux/tmux.conf: linux/tmux.conf.m4 \ + ${M4_COMMON_DEPS} + $(call M4_EXEC) + +Common/zshrc: Common/zshrc.m4 \ + ${M4_COMMON_DEPS} + $(call M4_EXEC) + +linux/qtile/config/config.py: linux/qtile/config/config.py.m4 \ + linux/qtile/config/screen.m4.py \ + linux/qtile/config/group.m4.py \ + linux/qtile/config/layout.m4.py \ + linux/qtile/config/keys.m4.py \ + ${M4_COMMON_DEPS} + $(call M4_EXEC) -- cgit v1.2.3