dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 33688c6b977c79d89472497f318c035175392892
parent c78d29b0d920b6ec3ce3e6612c2b2b5b495542ad
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sun, 15 Feb 2015 11:53:40 +0100

Cleanup config.mk, introduce $CPPFLAGS, respect exported $CC

$CPPFLAGS only holds defines for feature test macros, thus
allowing to tweak those without having to change config.mk:

 make CPPFLAGS=

Diffstat:
config.mk | 17++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/config.mk b/config.mk @@ -11,20 +11,11 @@ TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo INCS = -I. LIBS = -lc -lutil -lncursesw -# NetBSD -#LIBS = -lc -lutil -lcurses -# AIX -#LIBS = -lc -lncursesw -# Solaris -#INCS = -I/usr/include/ncurses -#LIBS = -lc -lncursesw -# Cygwin -#INCS = -I/usr/include/ncurses - -CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED +CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED +CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG ${CPPFLAGS} LDFLAGS += ${LIBS} DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter -CC = cc -STRIP = strip +CC ?= cc +STRIP ?= strip