summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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 $@