[PATCH 05/65] config.mk: update

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 16 Apr 2014 17:16:12 +0200

- use c99 and D_POSIX_C_SOURCE=200809L
- add commented optimized build.
- put VERSION variable at the top.

Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
---
 config.mk | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk
index afc28d5..052bf67 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -1,4 +1,5 @@
 # Customize to fit your system
+VERSION     = 1.8
 
 # paths
 PREFIX      = /usr/local
_AT_@ -12,7 +13,6 @@ DESTDIR     =
 
 INCDIR      = ${PREFIX}/include
 LIBDIR      = ${PREFIX}/lib
-VERSION     = 1.7
 
 # includes and libs
 INCLUDES    = -I. -I${INCDIR} -I/usr/include
_AT_@ -23,5 +23,10 @@ LIBS        = -L${LIBDIR} -L/usr/lib -lc
 
 # compiler
 CC          = cc
-CFLAGS      = -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
+
+CFLAGS      = -g -O0 -pedantic -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_POSIX_C_SOURCE=200809L
 LDFLAGS     = ${LIBS}
+
+# optimized
+#CFLAGS      = -O2 ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_POSIX_C_SOURCE=200809L
+#LDFLAGS     = -s
-- 
2.4.10
--Multipart=_Mon__9_May_2016_17_21_10_+0200_I.6cpFVydhq75aaE
Content-Type: text/x-diff;
 name="0006-Makefile-compile-with-util.patch"
Content-Disposition: attachment;
 filename="0006-Makefile-compile-with-util.patch"
Content-Transfer-Encoding: 7bit
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Mon May 09 2016 - 17:24:22 CEST