From e2c236b300e4fa9f4f7fdb672251892c2be3e149 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Sun, 15 Apr 2012 23:08:48 +0200 Subject: Initial commit. --- config.mk | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..b9b98de --- /dev/null +++ b/config.mk @@ -0,0 +1,23 @@ +# nldev metadata +NAME = nldev +VERSION = 0.3 + +# Customize below to fit your system + +# paths +PREFIX ?= /usr +MANPREFIX = ${PREFIX}/share/man + +# includes and libs +INCS = -I. -I/usr/include +LIBS = -L/usr/lib -lc + +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE +CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +LDFLAGS = -static -g ${LIBS} +#LDFLAGS = -s ${LIBS} + +# compiler and linker +CC = cc + -- cgit v1.2.3