config.mk.orig 707 B

12345678910111213141516171819202122232425262728293031323334
  1. # tabbed version
  2. VERSION = 0.6
  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. # freetype
  10. FREETYPELIBS = -lfontconfig -lXft
  11. FREETYPEINC = /usr/include/freetype2
  12. # OpenBSD (uncomment)
  13. #FREETYPEINC = ${X11INC}/freetype2
  14. # includes and libs
  15. INCS = -I. -I/usr/include -I$(X11INC) -I${FREETYPEINC}
  16. LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${FREETYPELIBS}
  17. # flags
  18. CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
  19. CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
  20. LDFLAGS = -s ${LIBS}
  21. # Solaris
  22. #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
  23. #LDFLAGS = ${LIBS}
  24. # compiler and linker
  25. CC = cc