From 7a587cfa36d77cd2af3b0ec56cf47a4cb4113496 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 1 Dec 2014 17:14:22 +0000 Subject: [PATCH] Simplify config.mk A separate INCS/LIBS is not really necessary here and confuses the common case. --- config.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/config.mk b/config.mk index a9314d0..9368965 100644 --- a/config.mk +++ b/config.mk @@ -7,15 +7,10 @@ VERSION = 0.1 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -# includes and libs -INCS = -I. -I/usr/include -LIBS = -L/usr/lib -lc - # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE -CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} -LDFLAGS = ${LIBS} -#LDFLAGS = -s ${LIBS} +CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${CPPFLAGS} +LDFLAGS = # -s # compiler and linker CC = cc