commit 7a587cfa36d77cd2af3b0ec56cf47a4cb4113496
parent 5b089b98a6cb5b108dc6f98ca4b160c59f009472
Author: sin <sin@2f30.org>
Date: Mon, 1 Dec 2014 17:14:22 +0000
Simplify config.mk
A separate INCS/LIBS is not really necessary here and confuses
the common case.
Diffstat:
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git 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