config.mk 417 B

123456789101112131415
  1. # See LICENSE file for copyright and license details.
  2. WARN_CFLAGS = -Wall -Wextra -pedantic -D_XOPEN_SOURCE=700
  3. DBG_CFLAGS = -g
  4. DBG_LDFLAGS = -g
  5. FT_CFLAGS = $(shell freetype-config --cflags)
  6. FT_LDFLAGS = $(shell freetype-config --libs)
  7. XLIB_LDFLAGS = -lX11 -lXrender
  8. CFLAGS += -std=c99 ${XLIB_CFLAGS} ${FT_CFLAGS} ${WARN_CFLAGS} ${DBG_CFLAGS}
  9. LDFLAGS += ${XLIB_LDFLAGS} ${FT_LDFLAGS} ${DBG_LDFLAGS}
  10. # CC = cc