Skip to contentSkip to conversation

tools/xenbackendd: make 'gmake clean' properly cleaning

PATCH Applied Christoph Egger 3 participants 3 messages Apr 22, 2013 – Apr 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/xenbackendd: make 'gmake clean' properly cleaning

tools/xenbackendd: properly cleanup
Do not leave builds on gmake clean.

tools/xenbackendd/Makefile +1 -1
index 8374ad3..31e5c62 100644
@@ -30,7 +30,7 @@ install: build
 
 .PHONY: clean
 clean:
-	rm -f $(DEPS)
+	$(RM) *.a *.so *.o $(DEPS) xenbackendd
 
 xenbackendd: xenbackendd.o
 	$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) $(APPEND_LDFLAGS)

commit 0e278e7a0a8a5d74c43b2dd2fc44c141e048fa64

Author: Christoph Egger <[email protected]>
Date:   Thu Apr 4 13:29:12 2013 +0000

tools/xenbackendd: properly cleanup
Do not leave builds on gmake clean.

tools/xenbackendd/Makefile +1 -1
index 8374ad3..31e5c62 100644
@@ -30,7 +30,7 @@ install: build
 
 .PHONY: clean
 clean:
-	rm -f $(DEPS)
+	$(RM) *.a *.so *.o $(DEPS) xenbackendd
 
 xenbackendd: xenbackendd.o
 	$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) $(APPEND_LDFLAGS)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Christoph Egger

tools/xenbackendd: properly cleanup
Do not leave builds on gmake clean.

Quoted 13 lines
tools/xenbackendd/Makefile +1 -1
index 8374ad3..31e5c62 100644
@@ -30,7 +30,7 @@ install: build
 
 .PHONY: clean
 clean:
-	rm -f $(DEPS)
+	$(RM) *.a *.so *.o $(DEPS) xenbackendd
 
 xenbackendd: xenbackendd.o
 	$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) $(APPEND_LDFLAGS)