~brown121407/dwm

ref: c03f123a98daf447ea5d0649af74a6e350e96cf9 dwm/config.mk -rw-r--r-- 726 bytes
c03f123aAlexandru-Sergiu Marton Setup Guix compilation. 1 year, 2 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

X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib

PKG_CONFIG = pkg-config

INCS = -I$(X11INC) \
	   `$(PKG_CONFIG) --cflags freetype2`

LIBS = -L$(X11LIB) -lX11 -lXft \
	   `$(PKG_CONFIG) --libs xinerama` \
	   `$(PKG_CONFIG) --libs freetype2` \
	   `$(PKG_CONFIG) --libs fontconfig` \
	   -lX11-xcb -lxcb -lxcb-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