Makefile: define CPPFLAGS once, fix typo - tscrape - twitter scraper
HTML git clone git://git.codemadness.org/tscrape
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4a7f02171b4d5afd2cae29fa42f317b99f4ef852
DIR parent 6b4de933fb56b745de11b6190b8cda65b9bcf843
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 10 Mar 2016 18:53:22 +0100
Makefile: define CPPFLAGS once, fix typo
Diffstat:
M config.mk | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
DIR diff --git a/config.mk b/config.mk
@@ -10,19 +10,18 @@ AR = ar
RANLIB = ranlib
# debug
-#CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
-# -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
+#CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic
#LDFLAGS =
# optimized
CFLAGS = -O2 -std=c99
-CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
LDFLAGS = -s
# optimized static
#CFLAGS = -static -O2 -std=c99
-CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
#LDFLAGS = -static -s
+CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
+
# OpenBSD 5.9+: use pledge(2)
#CPPFLAGS += -DUSE_PLEDGE