commit 5b8eb5f7b146db4a2089fe1ca96b243a5c471e84
parent b6b0be4f4fe77fea6f1aef07232a44abd0139098
Author: torrinfail <torrinfail@gmail.com>
Date: Thu, 24 Dec 2020 16:49:30 -0700
Merge pull request #41 from victor-timofei/master
Fix LDFLAGS for Ubuntu
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -1,8 +1,9 @@
PREFIX ?= /usr/local
CC ?= cc
+LDFLAGS = -lX11
output: dwmblocks.c blocks.def.h blocks.h
- ${CC} `pkg-config --cflags x11 --libs x11` dwmblocks.c -o dwmblocks
+ ${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks
blocks.h:
cp blocks.def.h $@