cio

a simple irc client
Download | Log | Files | Refs | README | LICENSE

config.mk (662B)


      1 # cio version
      2 VERSION = 1.0
      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 = -lncurses
     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_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\"
     23 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     24 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     25 LDFLAGS  = ${LIBS}
     26 
     27 CC = cc