lel

lel (farbfeld image viewer) 0.2 fork for fun
git clone git://jacobedwards.org/lel
Log | Files | Refs | README | LICENSE

config.mk (553B)


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