Configuration of dwm for Mac Computers
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.

38 lines
926 B

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