tabbed

tab interface for application supporting Xembed
git clone git://git.suckless.org/tabbed
Log | Files | Refs | README | LICENSE

config.mk (707B)


      1 # tabbed version
      2 VERSION = 0.6
      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 # freetype
     14 FREETYPELIBS = -lfontconfig -lXft
     15 FREETYPEINC = /usr/include/freetype2
     16 # OpenBSD (uncomment)
     17 #FREETYPEINC = ${X11INC}/freetype2
     18 
     19 # includes and libs
     20 INCS = -I. -I/usr/include -I$(X11INC) -I${FREETYPEINC}
     21 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${FREETYPELIBS}
     22 
     23 # flags
     24 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
     25 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
     26 LDFLAGS = -s ${LIBS}
     27 
     28 # Solaris
     29 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
     30 #LDFLAGS = ${LIBS}
     31 
     32 # compiler and linker
     33 CC = cc