From faccd51b0c8558d42b42e54321aa50087897198d Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Tue, 5 Mar 2024 01:22:09 +0000 Subject: change makefile --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 76204f7..e27f920 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -.PHONY: all clean $(DIRS_CLEAN) - BOOT_DIR := boot BOOT_FILE := $(BOOT_DIR)/kjarna.efi @@ -10,10 +8,9 @@ TARGETS := $(SERVICE_FILE) $(BOOT_FILE) DIRS := $(SERVICE_DIR) $(BOOT_DIR) DIRS_CLEAN := $(addprefix clean-,$(DIRS)) -DIRS_DISTCLEAN := $(addprefix distclean-,$(DIRS)) +DIRS_DISTCLEAN := $(addprefix dist,$(DIRS_CLEAN)) all: $(TARGETS) - clean: $(DIRS_CLEAN) distclean: $(DIRS_DISTCLEAN) @@ -26,4 +23,5 @@ $(DIRS_DISTCLEAN): distclean-%: $(TARGETS): $(MAKE) -C $(dir $@) +.PHONY: all clean distclean $(DIRS) $(DIRS_CLEAN) $(DIRS_DISTCLEAN) -- cgit v1.3.1-1-g115d