aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Timofei <victor@vtimothy.com>2020-12-23 19:52:47 +0200
committerVictor Timofei <victor@vtimothy.com>2020-12-23 19:52:47 +0200
commitaf5389ce30a1a5d1f875a672e6e68f4f2fcb0789 (patch)
treeb88d2e9d52e0a265fe8ec970dcb134ed4aed3cc3
parentb6b0be4f4fe77fea6f1aef07232a44abd0139098 (diff)
Fix LDFLAGS for Ubuntu
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8b3a30e..ef43ef4 100644
--- 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 $@