recipes

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

config.mk (589B)


      1 # bgs version
      2 VERSION = 0.8
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 # Xinerama, comment if you don't want it
     11 XINERAMALIBS = 
     12 XINERAMAFLAGS = -DXINERAMA
     13 
     14 # includes and libs
     15 INCS = \
     16 	-I$(imlib2)/include \
     17 	-I$(libtinyx11)/include \
     18 	-I$(libxinerama)/include
     19 LIBS = \
     20 	-L(imlib2)/lib -limlib2 \
     21 	-L$(libtinyx11)/lib -lX11 \
     22 	-L$(libxinerama)/lib -lXinerama
     23 
     24 # flags
     25 CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
     26 CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
     27 LDFLAGS += -lm ${LIBS}
     28 
     29 # compiler and linker
     30 CC ?= cc