ii/config.mk

28 lines
733 B
Makefile
Raw Normal View History

2005-12-19 16:39:54 +03:00
# Customize to fit your system
# paths
PREFIX = /usr/local
2006-07-14 21:57:38 +04:00
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/share/man
MAN1DIR = ${MANDIR}/man1
2007-02-03 15:09:13 +03:00
DOCDIR = ${PREFIX}/share/doc/ii
# Set the following to install to a different root
DESTDIR =
2005-12-19 16:39:54 +03:00
INCDIR = ${PREFIX}/include
LIBDIR = ${PREFIX}/lib
2007-07-14 15:12:01 +04:00
VERSION = 1.3
2005-12-19 16:39:54 +03:00
# includes and libs
INCLUDES = -I. -I${INCDIR} -I/usr/include
LIBS = -L${LIBDIR} -L/usr/lib -lc
2007-02-01 14:00:59 +03:00
# uncomment and comment other variables for compiling on Solaris
#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
#CFLAGS = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
2005-12-19 16:39:54 +03:00
# compiler
CC = cc
2007-07-14 15:12:01 +04:00
CFLAGS = -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
2005-12-19 16:39:54 +03:00
LDFLAGS = ${LIBS}