From 8f5b14ad6d01c59f3eaf458e73e5a8f66edd2f32 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 27 Jan 2023 13:49:52 +0000 Subject: [PATCH] Combine symlink rules into single rule --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7e596434..bc05e59c 100644 --- a/Makefile +++ b/Makefile @@ -35,12 +35,9 @@ config: $(CONFIG_TARGETS) $(SYSTEMD_TARGETS) $(FONT_TARGETS) bin: $(BIN_TARGETS) $(PACKER_DIR) $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% - ln -s $(PWD)/$? $@ - $(SYSTEMD_TARGETS): $(SYSTEMD_DIR)/%: systemd/% - ln -s $(PWD)/$? $@ - $(FONT_TARGETS): $(FONT_DIR)/%: nerdfont_symbols/% +$(CONFIG_TARGETS) $(SYSTEMD_TARGETS) $(FONT_TARGETS): ln -s $(PWD)/$? $@ $(BIN_TARGETS): $(LOCAL_BIN)/%: bin/%