Fix LDFLAGS for Ubuntu
This commit is contained in:
parent
b6b0be4f4f
commit
af5389ce30
3
Makefile
3
Makefile
@ -1,8 +1,9 @@
|
|||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
CC ?= cc
|
CC ?= cc
|
||||||
|
LDFLAGS = -lX11
|
||||||
|
|
||||||
output: dwmblocks.c blocks.def.h blocks.h
|
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:
|
blocks.h:
|
||||||
cp blocks.def.h $@
|
cp blocks.def.h $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user