cio

a simple irc client
git clone git://kloet.net/cio
Download | Log | Files | Refs | README | LICENSE

config.mk (703B)


      1 # cio version
      2 VERSION = 1.1
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 # ncurses
     11 NCURSESINC = $(shell pkg-config --cflags-only-I ncursesw)
     12 NCURSESLIB = $(shell pkg-config --libs ncursesw)
     13 # OpenBSD (uncomment)
     14 #NCURSESINC =
     15 #NCURSESLIB = -lncursesw
     16 
     17 # includes and libs
     18 INCS = ${NCURSESINC}
     19 LIBS = -lssl -lcrypto ${NCURSESLIB}
     20 
     21 # flags
     22 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=700L \
     23            -DVERSION=\"${VERSION}\"
     24 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} \
     25            ${CPPFLAGS}
     26 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     27 LDFLAGS  = ${LIBS}
     28 
     29 CC = cc