config.mk 456 B

1234567891011121314151617181920212223
  1. # slstatus version
  2. VERSION = 1.0
  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. # flags
  10. CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\"
  11. CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os
  12. LDFLAGS = -L$(X11LIB) -s
  13. # OpenBSD: add -lsndio
  14. # FreeBSD: add -lkvm -lsndio
  15. LDLIBS = -lX11
  16. # compiler and linker
  17. CC = cc