Skip to content

Commit

Permalink
Fix LDFLAGS for Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-timofei committed Dec 23, 2020
1 parent b6b0be4 commit af5389c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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 $@

Expand Down

0 comments on commit af5389c

Please sign in to comment.