config.mk 474 B

1234567891011121314151617181920212223
  1. # slstatus version
  2. VERSION = 0
  3. # customize below to fit your system
  4. # paths
  5. PREFIX = /usr/local
  6. MANPREFIX = $(PREFIX)/share/man
  7. X11INC = -I/usr/X11R7/include -D_REENTRANT
  8. X11LIB = -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lX11
  9. # flags
  10. CPPFLAGS = $(X11INC) -D_DEFAULT_SOURCE
  11. CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os
  12. LDFLAGS = $(X11LIB) -s
  13. # OpenBSD: add -lsndio
  14. # FreeBSD: add -lkvm -lsndio
  15. LDLIBS = -lX11
  16. # compiler and linker
  17. CC = cc