libgrapheme

unicode string library
git clone git://git.suckless.org/libgrapheme
Log | Files | Refs | README | LICENSE

config.mk (592B)


      1 # Customize below to fit your system
      2 
      3 # paths
      4 PREFIX = /usr/local
      5 INCPREFIX = $(PREFIX)/include
      6 LIBPREFIX = $(PREFIX)/lib
      7 MANPREFIX = $(PREFIX)/share/man
      8 
      9 # flags
     10 CPPFLAGS = -D_DEFAULT_SOURCE
     11 CFLAGS   = -std=c99 -Os -Wall -Wextra -Wpedantic
     12 LDFLAGS  = -s
     13 
     14 BUILD_CPPFLAGS = $(CPPFLAGS)
     15 BUILD_CFLAGS   = $(CFLAGS)
     16 BUILD_LDFLAGS  = $(LDFLAGS)
     17 
     18 SHFLAGS  = -fPIC -ffreestanding
     19 SOFLAGS  = -shared -nostdlib -Wl,--soname=libgrapheme.so
     20 
     21 # tools
     22 CC       = cc
     23 BUILD_CC = $(CC)
     24 AR       = ar
     25 RANLIB   = ranlib
     26 LDCONFIG = ldconfig # unset to not call ldconfig(1) after install/uninstall
     27 SH       = sh