From a0020df6309e4536fcb97bd93bc46e2068f0ffe8 Mon Sep 17 00:00:00 2001
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Date: Sun, 30 May 2010 22:35:14 +0000
Subject: [PATCH] Add flashrom.exe unconditionally to the list of files removed
 at make clean

This allows users to run make clean without specifying the target
architecture.

Corresponding to flashrom svn r1022.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 59fd686..7bc5509 100644
--- a/Makefile
+++ b/Makefile
@@ -255,8 +255,10 @@ TAROPTIONS = $(shell LC_ALL=C tar --version|grep -q GNU && echo "--owner=root --
 %.o: %.c .features
 	$(CC) $(CFLAGS) $(CPPFLAGS) $(FEATURE_CFLAGS) $(SVNDEF) -o $@ -c $<
 
+# Make sure to add all names of generated binaries here.
+# This includes all frontends and libflashrom.
 clean:
-	rm -f $(PROGRAM) *.o
+	rm -f $(PROGRAM) $(PROGRAM).exe *.o
 
 distclean: clean
 	rm -f .dependencies .features .libdeps
-- 
GitLab