sent

simple plaintext presentation tool
git clone git://git.suckless.org/sent
Log | Files | Refs | README | LICENSE

config.mk (819B)


      1 # sent version
      2 VERSION = 1
      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/usr/include/freetype2 -I${X11INC}
     15 LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
     16 # OpenBSD (uncomment)
     17 #INCS = -I. -I${X11INC} -I${X11INC}/freetype2
     18 # FreeBSD (uncomment)
     19 #INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC}
     20 #LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
     21 
     22 # flags
     23 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
     24 CFLAGS += -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
     25 LDFLAGS += -g ${LIBS}
     26 #CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
     27 #LDFLAGS += ${LIBS}
     28 
     29 # compiler and linker
     30 CC ?= cc