lel

farbfeld image viewer
git clone git://git.2f30.org/lel
Log | Files | Refs | README | LICENSE

config.mk (498B)


      1 VERSION = 0.2
      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 ${INCS} ${CPPFLAGS}
     21 LDFLAGS = ${LIBS}
     22 
     23 # optimized
     24 #CFLAGS = -O2 -std=c99 -DVERSION=\"${VERSION}\" ${INCS} ${CPPFLAGS}
     25 #LDFLAGS = -s ${LIBS}
     26 
     27 # compiler and linker
     28 CC = cc