File: config.mk

package info (click to toggle)
ii 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 224 kB
  • sloc: ansic: 3,052; makefile: 84; sh: 23
file content (25 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Customize to fit your system
VERSION = 1.8

# paths
PREFIX   = /usr/local
BINDIR   = ${PREFIX}/bin
MANDIR   = ${PREFIX}/share/man
MAN1DIR  = ${MANDIR}/man1
DOCDIR   = ${PREFIX}/share/doc/ii

# includes and libs
INCLUDES = -I. -I/usr/include
LIBS     = -lbsd

# compiler
CC       = cc

# debug
#CFLAGS  = -g -O0 -pedantic -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" \
#	-std=c99 -D_DEFAULT_SOURCE
#LDFLAGS = ${LIBS}

# release
CFLAGS   += ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2
LDFLAGS  += ${LIBS}