diff options
| author | stkhan <personal@slickd.xyz> | 2023-03-11 16:39:07 -0600 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2023-03-11 16:39:07 -0600 |
| commit | 2083a177d2e3b069b0343bcbc3027fd4c5cf7dba (patch) | |
| tree | 25dc50a4d0e997c372df7e0eb529e69be1011872 /wm/dwm-6.4/config.mk | |
| parent | e73a4b48c2d9bfe6faf6bca3772f948b1c8b4a24 (diff) | |
update to dwm 6.4
Diffstat (limited to 'wm/dwm-6.4/config.mk')
| -rw-r--r-- | wm/dwm-6.4/config.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/wm/dwm-6.4/config.mk b/wm/dwm-6.4/config.mk new file mode 100644 index 0000000..8847583 --- /dev/null +++ b/wm/dwm-6.4/config.mk @@ -0,0 +1,39 @@ +# dwm version +VERSION = 6.4 + +# Customize below to fit your system + +# paths +PREFIX = /usr/local +MANPREFIX = ${PREFIX}/share/man + +X11INC = /usr/X11R6/include +X11LIB = /usr/X11R6/lib + +# Xinerama, comment if you don't want it +XINERAMALIBS = -lXinerama +XINERAMAFLAGS = -DXINERAMA + +# freetype +FREETYPELIBS = -lfontconfig -lXft +FREETYPEINC = /usr/include/freetype2 +# OpenBSD (uncomment) +#FREETYPEINC = ${X11INC}/freetype2 +#MANPREFIX = ${PREFIX}/man + +# includes and libs +INCS = -I${X11INC} -I${FREETYPEINC} +LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lImlib2 -lXrender -lX11-xcb -lxcb -lxcb-res + +# flags +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} +LDFLAGS = ${LIBS} + +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} + +# compiler and linker +CC = cc |