]> git.sur5r.net Git - i3/i3status/blobdiff - Makefile
Implement getting the wireless ESSID
[i3/i3status] / Makefile
index 751d5af278db75781edef8ddb4321d6a37213b23..fda843827641c7c6103d4978b83098cf0779a296 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,11 @@ VERSION=$(shell git describe --tags --abbrev=0)
 ifeq ($(shell uname),Linux)
 CFLAGS+=-DLINUX
 CFLAGS+=-D_GNU_SOURCE
+LDFLAGS+=-liw
+endif
+
+ifeq ($(shell uname),GNU/kFreeBSD)
+CFLAGS+=-lbsd
 endif
 
 # Define this if you want i3status to spit out dzen2-compatible output on stdout