Use pkg-config instead of specifying libs manually
This commit is contained in:
parent
5df1129707
commit
d37449ec4c
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
CC ?= clang
|
CC ?= clang
|
||||||
CFLAGS ?= -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include/ -Wall -Wextra
|
CFLAGS ?= -O2 `pkg-config --cflags dbus-1` `pkg-config --libs dbus-1` -Wall -Wextra
|
||||||
PREFIX ?= /usr/local/bin
|
PREFIX ?= /usr/local/bin
|
||||||
LDFLAGS ?= -ldbus-1 -lmpdclient
|
LDFLAGS ?= -ldbus-1 -lmpdclient
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user