blob: 7cb1abea7da576ed72d15692b69f7366d50b7e97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff --git a/Makefile b/Makefile
index a55897f..52e1063 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,7 @@
-CPPFLAGS=$(shell pkg-config --cflags libsystemd)
-LDFLAGS=$(shell pkg-config --libs libsystemd)
+all: btbridged
-EXE = btbridged
-
-all: $(EXE)
+btbridged: btbridged.c
+ $(CC) $(CFLAGS) `pkg-config --cflags --libs libsystemd` $^ -o $@
clean:
- rm -rf *.o $(EXE)
+ rm -f *.o btbridge
|