xscreenshot

screen capture tool (mirror)
git clone git://git.2f30.org/xscreenshot
Log | Files | Refs | README | LICENSE

config.mk (562B)


      1 VERSION = 1.0
      2 
      3 # customize below to fit your system
      4 
      5 # paths
      6 PREFIX = /usr/local
      7 MANPREFIX = ${PREFIX}/share/man
      8 
      9 X11INC = /usr/X11R6/include
     10 X11LIB = /usr/X11R6/lib
     11 
     12 # includes and libs
     13 INCS = -I${X11INC}
     14 LIBS = -L${X11LIB} -lX11
     15 
     16 # flags
     17 CPPFLAGS = -DVERSION=\"${VERSION}\"
     18 
     19 # debug
     20 CFLAGS = -O0 -g -std=c99 -Wall -pedantic -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS} ${CPPFLAGS}
     21 LDFLAGS = ${LIBS}
     22 
     23 # optimized
     24 #CFLAGS = -O2 -std=c99 -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS} ${CPPFLAGS}
     25 #LDFLAGS = -s ${LIBS}
     26 
     27 # compiler and linker
     28 CC = cc