recipes

packages recipes for the <noname> package manager
Log | Files | Refs

config.mk (681B)


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