pointtools

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

commit a424583e26fb27eba2b6f31d54e95d8519173f6c
parent a20dcaafee3d435cf8dd3434f8166e72cffe8618
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 29 Apr 2020 16:37:20 +0200

Add config.mk.

Diffstat:
config.mk | 23+++++++++++++++++++++++
1 file changed, 23 insertions(+), 0 deletions(-)

diff --git a/config.mk b/config.mk @@ -0,0 +1,23 @@ + +VERSION="0.3" + +# paths +PREFIX = /usr/local +MANPREFIX = ${PREFIX}/share/man + +# includes and libs +INCS = -I. -I/usr/include + +# BSD +#LIBS = -L/usr/lib -lc +# Linux +LIBS = -L/usr/lib -lc -lbsd + +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" +CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS} +LDFLAGS += -g ${LIBS} + +# compiler and linker +# CC = cc +