[hackers] [quark] Simplify config.mk || sin
commit 7a587cfa36d77cd2af3b0ec56cf47a4cb4113496
Author: sin <sin_AT_2f30.org>
Date: Mon Dec 1 17:14:22 2014 +0000
Simplify config.mk
A separate INCS/LIBS is not really necessary here and confuses
the common case.
diff --git a/config.mk b/config.mk
index a9314d0..9368965 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -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
Received on Mon Dec 01 2014 - 18:19:37 CET
This archive was generated by hypermail 2.3.0
: Mon Dec 01 2014 - 18:24:10 CET