Mercurial > nixos
comparison config/dwm/config.mk @ 0:face7f4d84f7
Initial commit
| author | Yasuri <yasuri@charliesmp.net> |
|---|---|
| date | Mon, 28 Sep 2026 13:10:19 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:face7f4d84f7 |
|---|---|
| 1 # dwm version | |
| 2 VERSION = 6.8 | |
| 3 | |
| 4 # Customize below to fit your system | |
| 5 | |
| 6 # paths | |
| 7 PREFIX = /usr/local | |
| 8 MANPREFIX = ${PREFIX}/share/man | |
| 9 | |
| 10 X11INC = /usr/X11R6/include | |
| 11 X11LIB = /usr/X11R6/lib | |
| 12 | |
| 13 # Xinerama, comment if you don't want it | |
| 14 XINERAMALIBS = -lXinerama | |
| 15 XINERAMAFLAGS = -DXINERAMA | |
| 16 | |
| 17 # freetype | |
| 18 FREETYPELIBS = -lfontconfig -lXft | |
| 19 FREETYPEINC = /usr/include/freetype2 | |
| 20 # OpenBSD (uncomment) | |
| 21 #FREETYPEINC = ${X11INC}/freetype2 | |
| 22 #MANPREFIX = ${PREFIX}/man | |
| 23 | |
| 24 # includes and libs | |
| 25 INCS = -I${X11INC} -I${FREETYPEINC} | |
| 26 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} | |
| 27 | |
| 28 # flags | |
| 29 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} | |
| 30 #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} | |
| 31 CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} | |
| 32 LDFLAGS = ${LIBS} | |
| 33 | |
| 34 # Solaris | |
| 35 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" | |
| 36 #LDFLAGS = ${LIBS} | |
| 37 | |
| 38 # compiler and linker | |
| 39 CC = cc |
