nfy

Minimal and daemonless notification program for X
git clone git://git.margiolis.net/nfy.git
Log | Files | Refs | README | LICENSE

config.mk (730B)


      1 # See LICENSE file for copyright and license details.
      2 # nfy version
      3 VERSION = 0.2
      4 
      5 # paths
      6 PREFIX = /usr/local
      7 MANPREFIX = ${PREFIX}/share/man
      8 # OpenBSD
      9 #MANPREFIX = ${PREFIX}/man
     10 
     11 # includes and libs
     12 # FreeBSD
     13 X11INC = /usr/local/include
     14 X11LIB = /usr/local/lib
     15 
     16 # Linux/OpenBSD
     17 #X11INC = /usr/X11R6/include
     18 #X11LIB = /usr/X11R6/lib
     19 
     20 FREETYPELIBS = -lfontconfig -lXft
     21 FREETYPEINC = ${X11INC}/freetype2
     22 # Linux
     23 #FREETYPEINC = /usr/include/freetype2
     24 
     25 # flags
     26 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L \
     27 	   -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\"
     28 CFLAGS = -std=c99 -pedantic -Wall -Os -I${X11INC} -I${FREETYPEINC} ${CPPFLAGS}
     29 LDFLAGS = -L${X11LIB} ${FREETYPELIBS} -lX11 -lXrandr
     30 
     31 # compiler
     32 CC = cc