From 8486a7ddebfe82af59e85d9a52cda099ee441482 Mon Sep 17 00:00:00 2001 From: u Date: Fri, 17 Nov 2023 11:21:36 -0500 Subject: rootfs/Makefile cleanups --- rootfs/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'rootfs') diff --git a/rootfs/Makefile b/rootfs/Makefile index 09dba42..3c7cf0a 100644 --- a/rootfs/Makefile +++ b/rootfs/Makefile @@ -12,11 +12,14 @@ patchfs ?= samizdat.patch.btrfs .DEFAULT_GOAL = all -.PHONY: all rootfs patchfs gold -all: $(rootfs) $(patchfs) $(gold) +.PHONY: all rootfs patchfs clean +all: $(rootfs) $(patchfs) + +clean = $(patchfs) $(rootfs) $(rootfs:%.seed.btrfs=%.btrfs) +clean := $(clean) $(clean:%=%.tmp) clean: - rm -f $(patsubst %.seed.btrfs,%.btrfs,$(rootfs)) $(rootfs) $(patchfs) $(gold) + rm -f $(clean) rootfs: $(rootfs) patchfs: $(patchfs) -- cgit v1.2.3