st

Simple Terminal
git clone git://r-36.net/st
Log | Files | Refs | README | LICENSE

config.mk (664B)


      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 X11INC = /usr/X11R6/include
     11 X11LIB = /usr/X11R6/lib
     12 
     13 # includes and libs
     14 INCS = -I. -I/usr/include -I${X11INC} \
     15        `pkg-config --cflags fontconfig` \
     16        `pkg-config --cflags freetype2`
     17 LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXft \
     18        `pkg-config --libs fontconfig`  \
     19        `pkg-config --libs freetype2`
     20 
     21 # flags
     22 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
     23 CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
     24 LDFLAGS += -g ${LIBS}
     25 
     26 # compiler and linker
     27 # CC = cc
     28