From 004e0896a40ef82d916fc5b812dc316fe6ebb1bc Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 27 Feb 2021 13:13:28 +0100 Subject: [PATCH] Don't fail when running make clean twice Signed-off-by: Maarten van Gompel --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 261e52f..3a779a3 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ programs/sxmo_vibratepine: programs/sxmo_vibratepine.c gcc -o programs/sxmo_vibratepine programs/sxmo_vibratepine.c clean: - rm programs/sxmo_setpineled programs/sxmo_screenlock programs/sxmo_setpinebacklight programs/sxmo_megiaudioroute programs/sxmo_vibratepine + rm -f programs/sxmo_setpineled programs/sxmo_screenlock programs/sxmo_setpinebacklight programs/sxmo_megiaudioroute programs/sxmo_vibratepine install: $(PROGRAMS) cd configs && find . -type f -exec install -D -m 0644 "{}" "$(DESTDIR)$(PREFIX)/share/sxmo/{}" \; && cd ..