X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=dca4f71be6b5fa047254bec1ad373844e0648b25;hb=57269885c0dbbe0368b510e90ff31eb215616441;hp=edbdc441b60bce501f28a649c3316e90c2535bc0;hpb=15f2279592032af1507de09ef31eba81aee53191;p=i3%2Fi3status diff --git a/Makefile b/Makefile index edbdc44..dca4f71 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ CFLAGS+=-Iinclude LIBS+=-lconfuse LIBS+=-lyajl LIBS+=-lpulse +LIBS+=-lm VERSION:=$(shell git describe --tags --abbrev=0) GIT_VERSION:="$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1))" @@ -30,7 +31,8 @@ OS:=$(shell uname) ifeq ($(OS),Linux) CPPFLAGS+=-DLINUX CPPFLAGS+=-D_GNU_SOURCE -LIBS+=-liw +CFLAGS += $(shell pkg-config --cflags libnl-genl-3.0) +LIBS += $(shell pkg-config --libs libnl-genl-3.0) LIBS+=-lasound endif