36ec5bc425
- fix directory traversal using #../../ (not possible to overwrite arbitrary files, thus not marking as security fix) - general cleanup - documentation fixes (url, copyright, formatting)
28 lines
733 B
Makefile
28 lines
733 B
Makefile
# 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.4
|
|
|
|
# includes and libs
|
|
INCLUDES = -I. -I${INCDIR} -I/usr/include
|
|
LIBS = -L${LIBDIR} -L/usr/lib -lc
|
|
# 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}
|