My dwm build
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.
 
 
 
 
 

40 lines
978 B

  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. #KVMLIB = -lkvm
  18. # includes and libs
  19. INCS = -I${X11INC} -I${FREETYPEINC}
  20. LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-res ${KVMLIB}
  21. # flags
  22. CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
  23. #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
  24. CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
  25. LDFLAGS = ${LIBS}
  26. # Solaris
  27. #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
  28. #LDFLAGS = ${LIBS}
  29. # compiler and linker
  30. CC = cc