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>
diff --git a/Makefile b/Makefile
index 59fd686..7bc5509 100644
--- a/Makefile
+++ b/Makefile
@@ -255,8 +255,10 @@
%.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