mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
improve pkg-config call, respect CFLAGs
This commit is contained in:
parent
8f587e6c80
commit
961f21a790
7
Makefile
7
Makefile
@ -14,11 +14,12 @@ OBJS= calmwm.o screen.o xmalloc.o client.o menu.o \
|
|||||||
kbfunc.o mousefunc.o font.o strlcpy.o strlcat.o y.tab.o \
|
kbfunc.o mousefunc.o font.o strlcpy.o strlcat.o y.tab.o \
|
||||||
strtonum.o fgetln.o
|
strtonum.o fgetln.o
|
||||||
|
|
||||||
CPPFLAGS+= `pkg-config --cflags fontconfig x11 xft xinerama xrandr`
|
CPPFLAGS+= $(shell pkg-config --cflags fontconfig x11 xft xinerama xrandr)
|
||||||
|
|
||||||
CFLAGS= -Wall -O2 -g -D_GNU_SOURCE
|
CFLAGS?= -Wall -O2 -g
|
||||||
|
CFLAGS+= -D_GNU_SOURCE
|
||||||
|
|
||||||
LDFLAGS+= `pkg-config --libs fontconfig x11 xft xinerama xrandr`
|
LDFLAGS+= $(shell pkg-config --libs fontconfig x11 xft xinerama xrandr)
|
||||||
|
|
||||||
MANPREFIX= ${PREFIX}/share/man
|
MANPREFIX= ${PREFIX}/share/man
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user