beans

simple pastebin server
git clone git://git.bitsmanent.org/beans
Log | Files | Refs | LICENSE

config.mk (549B)


      1 # beans - simple pastebin server
      2 VERSION = 0.1
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 # includes and libs
     11 INCS =
     12 LIBS =
     13 
     14 # flags
     15 CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\"
     16 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     17 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     18 LDFLAGS  = -s ${LIBS}
     19 
     20 # Solaris
     21 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
     22 #LDFLAGS = ${LIBS}
     23 
     24 # compiler and linker
     25 CC = cc