[PATCH btbridge v4 8/8] Makefile improvements, clean target

OpenBMC Patches patches at stwcx.xyz
Fri Oct 30 23:42:14 AEDT 2015


From: Cyril Bur <cyril.bur at au1.ibm.com>

---
 Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 54d9964..a55897f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,9 @@
 CPPFLAGS=$(shell pkg-config --cflags libsystemd)
 LDFLAGS=$(shell pkg-config --libs libsystemd)
 
-all: btbridged
+EXE = btbridged
+
+all: $(EXE)
+
+clean:
+	rm -rf *.o $(EXE)
-- 
2.6.0




More information about the openbmc mailing list