pointtools

Simple point utilities to hold text presentations.
git clone git://r-36.net/pointtools
Log | Files | Refs | LICENSE

commit e1ccb875a3dd3576e285e1cf49b6ebd6e344f1ae
parent dfe08ef1dd536349b25c9c22f8b893f52e6d2001
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 29 Apr 2020 19:11:34 +0200

Add Linux glibc way of things.

Diffstat:
config.mk | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -14,7 +14,11 @@ INCS = -I. -I/usr/include LIBS = -L/usr/lib -lc -lbsd # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" +# Linux +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=1 +# BSD +#CPPFLAGS = -DVERSION=\"${VERSION}\" + CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS} LDFLAGS += -g ${LIBS}