Makefile: simplify
This commit is contained in:
parent
bb1e5569d0
commit
0fedff44e3
15
config.mk
15
config.mk
@ -8,23 +8,18 @@ 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
|
||||
|
||||
# includes and libs
|
||||
INCLUDES = -I. -I${INCDIR} -I/usr/include
|
||||
LIBS = -L${LIBDIR} -L/usr/lib -lc
|
||||
INCLUDES = -I. -I/usr/include
|
||||
LIBS =
|
||||
|
||||
# compiler
|
||||
CC = cc
|
||||
|
||||
# debug
|
||||
#CFLAGS = -g -O0 -pedantic -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_DEFAULT_SOURCE
|
||||
#CFLAGS = -g -O0 -pedantic -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" \
|
||||
# -std=c99 -D_DEFAULT_SOURCE
|
||||
#LDFLAGS = ${LIBS}
|
||||
|
||||
# release
|
||||
CFLAGS = -Os ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_DEFAULT_SOURCE
|
||||
LDFLAGS = -s
|
||||
LDFLAGS = -s ${LIBS}
|
||||
|
Loading…
Reference in New Issue
Block a user