config.mk (412B)
1 # nldev metadata 2 NAME = nldev 3 VERSION = 0.4 4 5 # Customize below to fit your system 6 7 # paths 8 PREFIX = /usr 9 MANPREFIX = ${PREFIX}/share/man 10 11 # includes and libs 12 INCS = -I. -I/usr/include 13 LIBS = -L/usr/lib -lc 14 15 # flags 16 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_GNU_SOURCE 17 CFLAGS = -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} 18 LDFLAGS = -static ${LIBS} 19 #LDFLAGS = -s ${LIBS} 20 21 # compiler and linker 22 CC = cc 23