commit af5389ce30a1a5d1f875a672e6e68f4f2fcb0789
parent b6b0be4f4fe77fea6f1aef07232a44abd0139098
Author: Victor Timofei <victor@vtimothy.com>
Date: Wed, 23 Dec 2020 19:52:47 +0200
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 $@