Merge pull request #41 from victor-timofei/master

Fix LDFLAGS for Ubuntu
This commit is contained in:
torrinfail 2020-12-24 16:49:30 -07:00 committed by GitHub
commit 5b8eb5f7b1
Failed to generate hash of commit

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