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.

32 lines
709 B

13 years ago
19 years ago
13 years ago
16 years ago
19 years ago
13 years ago
19 years ago
13 years ago
19 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. # includes and libs
  13. INCS = -I${X11INC}
  14. LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
  15. # flags
  16. CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
  17. #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
  18. CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
  19. LDFLAGS = -s ${LIBS}
  20. # Solaris
  21. #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
  22. #LDFLAGS = ${LIBS}
  23. # compiler and linker
  24. CC = cc