cstring

Lightweight string library for C
git clone git://git.margiolis.net/cstring.git
Log | Files | Refs | README | LICENSE

config.mk (494B)


      1 # See LICENSE file for copyright and license details.
      2 # cstring version
      3 VERSION = 0.1
      4 
      5 # paths
      6 PREFIX = /usr/local
      7 MANPREFIX = ${PREFIX}/share/man
      8 INCDIR = ${PREFIX}/include
      9 LIBDIR = ${PREFIX}/lib
     10 
     11 # includes and libs
     12 INCS = -Iinclude
     13 LIBS = -Llib
     14 
     15 # flags
     16 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L \
     17 	   -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\"
     18 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
     19 LDFLAGS = ${LIBS}
     20 ARFLAGS = rs
     21 
     22 # compiler
     23 CC = cc
     24 AR = ar