Add config.mk. - pointtools - Simple point utilities to hold text presentations. (HTM) git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- (DIR) commit a424583e26fb27eba2b6f31d54e95d8519173f6c (DIR) parent a20dcaafee3d435cf8dd3434f8166e72cffe8618 (HTM) Author: Christoph Lohmann <20h@r-36.net> Date: Wed, 29 Apr 2020 16:37:20 +0200 Add config.mk. Diffstat: A config.mk | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+), 0 deletions(-) --- (DIR) 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 +