tabbed/config.mk
Quentin Rameau 46887ac550 Fix install paths and default build flag
Ensure that paths are quoted.
Compile with -Os by default.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-01-03 09:24:32 +01:00

26 lines
458 B
Makefile

# tabbed version
VERSION = 0.6
# Customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
# includes and libs
INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc -lX11
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = ${LIBS}
# compiler and linker
CC = cc