summaryrefslogtreecommitdiffstats
path: root/patches/libcgi-1.0/0005-cleanup-clean-target.patch
blob: 194dc6d4a3219a28264a0f9f7f1ceecdb64ae41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Robert Schwebel <r.schwebel@pengutronix.de>
Date: Fri, 26 Oct 2012 21:46:21 +0200
Subject: [PATCH] cleanup clean target

Remove all generated files. While being there, fix a typo.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 Makefile.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 22983f1..68a0fa6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,8 +75,9 @@ src/general.o: src/general.c
 src/list.o: src/list.c
 
 clean:
-	find src/ -name *.*o -exec rm -f {} \;
+	find src/ -name *.o -exec rm -f {} \;
 	find src/ -name *.a -exec rm -f {} \;
+	find src/ -name *.so -exec rm -f {} \;
 
 uninstall: clean
 	rm -f $(LIBDIR)/libcgi.*