Fix LDFLAGS for Ubuntu

This commit is contained in:
Victor Timofei 2020-12-23 19:52:47 +02:00
parent b6b0be4f4f
commit af5389ce30
No known key found for this signature in database
GPG Key ID: B790DCEBE281403A
1 changed files with 2 additions and 1 deletions

View File

@ -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 $@