Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.7 KiB

4 years ago
4 years ago
4 years ago
  1. # dwm version
  2. VERSION = 6.2
  3. # Customize below to fit your system
  4. # paths
  5. PREFIX = /usr/local
  6. MANPREFIX = ${PREFIX}/share/man
  7. X11INC = /usr/X11R6/include
  8. X11LIB = /usr/X11R6/lib
  9. # Xinerama, comment if you don't want it
  10. XINERAMALIBS = -lXinerama
  11. XINERAMAFLAGS = -DXINERAMA
  12. # freetype
  13. FREETYPELIBS = -lfontconfig -lXft
  14. FREETYPEINC = /usr/include/freetype2
  15. # OpenBSD (uncomment)
  16. #FREETYPEINC = ${X11INC}/freetype2
  17. # OpenBSD - Uncomment this for the swallow patch / SWALLOW_PATCH
  18. #KVMLIB = -lkvm
  19. # Uncomment this for the alpha patch / BAR_ALPHA_PATCH
  20. XRENDER = -lXrender
  21. # Uncomment this for the mdpcontrol patch / MDPCONTROL_PATCH
  22. #MPDCLIENT = -lmpdclient
  23. # Uncomment for the pango patch / BAR_PANGO_PATCH
  24. #PANGOINC = `pkg-config --cflags xft pango pangoxft`
  25. #PANGOLIB = `pkg-config --libs xft pango pangoxft`
  26. # Uncomment for the ipc patch / IPC_PATCH
  27. YAJLLIBS = -lyajl
  28. YAJLINC = -I/usr/include/yajl
  29. # Uncomment this for the rounded corners patch / ROUNDED_CORNERS_PATCH
  30. #XEXTLIB = -lXext
  31. # Uncomment this for the swallow patch / SWALLOW_PATCH
  32. XCBLIBS = -lX11-xcb -lxcb -lxcb-res
  33. # includes and libs
  34. INCS = -I${X11INC} -I${FREETYPEINC} ${YAJLINC} ${PANGOINC}
  35. LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} ${XRENDER} ${MPDCLIENT} ${XEXTLIB} ${XCBLIBS} ${KVMLIB} ${PANGOLIB} ${YAJLLIBS}
  36. # flags
  37. CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
  38. #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
  39. CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
  40. LDFLAGS = ${LIBS}
  41. # Solaris
  42. #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
  43. #LDFLAGS = ${LIBS}
  44. # compiler and linker
  45. CC = cc