mirror of https://github.com/tiyn/ii
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
748 B
28 lines
748 B
# Customize to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
BINDIR = ${PREFIX}/bin
|
|
MANDIR = ${PREFIX}/share/man
|
|
MAN1DIR = ${MANDIR}/man1
|
|
DOCDIR = ${PREFIX}/share/doc/ii
|
|
|
|
# Set the following to install to a different root
|
|
DESTDIR =
|
|
|
|
INCDIR = ${PREFIX}/include
|
|
LIBDIR = ${PREFIX}/lib
|
|
VERSION = 1.7
|
|
|
|
# includes and libs
|
|
INCLUDES = -I. -I${INCDIR} -I/usr/include
|
|
LIBS = -L${LIBDIR} -L/usr/lib -lc -lssl -lcrypto
|
|
# uncomment and comment other variables for compiling on Solaris
|
|
#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
|
|
#CFLAGS = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
|
|
|
|
# compiler
|
|
CC = cc
|
|
CFLAGS = -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
|
|
LDFLAGS = ${LIBS}
|