No change in functionality, but in doc and code.
[iii.git] / config.mk
bloba5eefd96a2490930125d2bc50e90b91ae55f9fa8
1 # Customize to fit your system
3 # If an environment variable is available, the affected setting below is either
4 # skipped or (if the variable is holding flags) appended to the already defined
5 # string.
7 # paths
8 PREFIX ?= /usr/local
9 BINDIR ?= ${PREFIX}/bin
10 MANDIR ?= ${PREFIX}/share/man
11 MAN1DIR ?= ${MANDIR}/man1
12 DOCDIR ?= ${PREFIX}/share/doc/ii
14 # Set the following to install to a different root
15 DESTDIR ?=
17 INCDIR ?= ${PREFIX}/include
18 LIBDIR ?= ${PREFIX}/lib
19 VERSION ?= 1.4
20 EXECUTABLE ?= ii
22 # includes and libs
23 INCLUDES += -I. -I${INCDIR} -I/usr/include
24 LIBS += -L${LIBDIR} -L/usr/lib -lc
25 # uncomment and comment other variables for compiling on Solaris
26 #LIBS += -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
27 #CFLAGS += -g ${INCLUDES} -DVERSION=\"${VERSION}\" -DEXECUTABLE=\"${EXECUTABLE}\"
29 # compiler
30 CC ?= cc
31 CFLAGS += -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" -DEXECUTABLE=\"${EXECUTABLE}\"
32 LDFLAGS += ${LIBS}