st

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/st
Log | Files | Refs | README | LICENSE

config.mk (655B)


      1 # st version
      2 VERSION = 0.7
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 PKGCFG = fontconfig wayland-client wayland-cursor xkbcommon wld
     11 XDG_SHELL_PROTO = `pkg-config --variable=pkgdatadir wayland-protocols`/unstable/xdg-shell/xdg-shell-unstable-v5.xml
     12 
     13 # includes and libs
     14 INCS = -I. -I/usr/include `pkg-config --cflags ${PKGCFG}`
     15 LIBS = -L/usr/lib -lc -lm -lrt -lutil `pkg-config --libs ${PKGCFG}`
     16 
     17 # flags
     18 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
     19 CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
     20 LDFLAGS += -g ${LIBS}
     21 
     22 # compiler and linker
     23 # CC = cc
     24