~brown121407/dwm

ref: 64fc8b39aa3abb149f619d047d9f8678824b091e dwm/config.mk -rw-r--r-- 801 bytes
64fc8b39Alexandru-Sergiu Add pcmanfm keybinding. 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# dwm version
VERSION = 6.2

# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man

PKG_CONFIG = pkg-config

INCS = `$(PKG_CONFIG) --cflags x11` \
	   `$(PKG_CONFIG) --cflags freetype2`

LIBS = `$(PKG_CONFIG) --libs x11` \
	   `$(PKG_CONFIG) --libs xft` \
	   `$(PKG_CONFIG) --libs xinerama` \
	   `$(PKG_CONFIG) --libs freetype2` \
	   `$(PKG_CONFIG) --libs fontconfig` \
	   `$(PKG_CONFIG) --libs x11-xcb` \
	   `$(PKG_CONFIG) --libs xcb` \
	   `$(PKG_CONFIG) --libs xcb-res`

# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" -DXINERAMA
#CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
LDFLAGS  = ${LIBS}

# compiler and linker
CC = cc