recipes

packages recipes for the <noname> package manager
Log | Files | Refs

config.mk (486B)


      1 # customize below to fit your system
      2 
      3 # paths
      4 PREFIX = ${PREFIX}
      5 MANPREFIX = ${PREFIX}/share/man
      6 
      7 # compiler and linker
      8 CC = cc
      9 
     10 # includes and libs
     11 INCS = -I${libgit2}/include -I${libressl}/include -I${libz}/include
     12 LIBS = -L${libgit2}/lib -L${libressl}/lib -L${libz}/lib -lssl -lgit2 -lssl -lz -lssl -lpthread -lssl -lcrypto
     13 
     14 # optimized static
     15 CFLAGS = -static -O2 -std=c99 ${INCS}
     16 LDFLAGS = -static -s ${LIBS}
     17 
     18 CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}