From af5389ce30a1a5d1f875a672e6e68f4f2fcb0789 Mon Sep 17 00:00:00 2001 From: Victor Timofei Date: Wed, 23 Dec 2020 19:52:47 +0200 Subject: Fix LDFLAGS for Ubuntu --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 $@ -- cgit v1.2.3