From c71a0b566ce55e2f58f06c8a524de66ac4ba6848 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Wed, 6 Jun 2018 21:52:50 +0100 Subject: [PATCH] Makefile (clean): Have a variable for things to clean. Organization: Straylight/Edgeware From: Mark Wooding --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 25e5d14..519270e 100644 --- a/Makefile +++ b/Makefile @@ -141,8 +141,10 @@ DISTFILES += $(patsubst %, debian/%.lintian-overrides, \ all: $(TARGETS) .PHONY: ALL +CLEAN += $(TARGETS) +CLEAN += *.o clean: - rm -f *.o $(TARGETS) + rm -f $(CLEAN) .PHONY: clean ## Building sources. -- [mdw]