diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-04-15 23:08:48 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-04-15 23:08:48 +0200 |
commit | e2c236b300e4fa9f4f7fdb672251892c2be3e149 (patch) | |
tree | 7b5781929b5f0ff95edbc7e4c18339910cff5d22 /config.mk | |
download | nldev-e2c236b300e4fa9f4f7fdb672251892c2be3e149.tar.bz2 nldev-e2c236b300e4fa9f4f7fdb672251892c2be3e149.tar.xz |
Initial commit.
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 23 |
1 files changed, 23 insertions, 0 deletions
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 + |