aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/makefile b/makefile
index 8aa77880..c07dfc18 100644
--- a/makefile
+++ b/makefile
@@ -8,15 +8,14 @@
8CWARNSCPP= \ 8CWARNSCPP= \
9 -pedantic \ 9 -pedantic \
10 -Wextra \ 10 -Wextra \
11 -Waggregate-return \
12 -Wshadow \ 11 -Wshadow \
13 -Wsign-compare \ 12 -Wsign-compare \
14 -Wundef \ 13 -Wundef \
15 -Wwrite-strings \ 14 -Wwrite-strings \
16 -Wredundant-decls \ 15 -Wredundant-decls \
17 -Wdisabled-optimization \ 16 -Wdisabled-optimization \
18 -Wstrict-aliasing \
19 # the next warnings generate to much noise, so they are disabled 17 # the next warnings generate to much noise, so they are disabled
18 # -Wdouble-promotion \
20 # -Wconversion -Wno-sign-conversion \ 19 # -Wconversion -Wno-sign-conversion \
21 # -Wsign-conversion \ 20 # -Wsign-conversion \
22 # -Wconversion \ 21 # -Wconversion \
@@ -32,7 +31,7 @@ CWARNSC= -Wdeclaration-after-statement \
32 -Wstrict-prototypes \ 31 -Wstrict-prototypes \
33 -Wc++-compat \ 32 -Wc++-compat \
34 -Wold-style-definition \ 33 -Wold-style-definition \
35 -Wold-style-declaration \ 34
36 35
37CWARNS= $(CWARNSCPP) $(CWARNSC) 36CWARNS= $(CWARNSCPP) $(CWARNSC)
38 37
@@ -54,7 +53,7 @@ MYLDFLAGS= $(LOCAL) -Wl,-E
54MYLIBS= -ldl -lreadline -lhistory -lncurses 53MYLIBS= -ldl -lreadline -lhistory -lncurses
55 54
56 55
57CC= gcc 56CC= clang
58CFLAGS= -Wall -O2 $(MYCFLAGS) 57CFLAGS= -Wall -O2 $(MYCFLAGS)
59# CC= ~lhf/sunstudio12/bin/cc 58# CC= ~lhf/sunstudio12/bin/cc
60# CFLAGS= -xO5 -v -Xc -native -xstrconst 59# CFLAGS= -xO5 -v -Xc -native -xstrconst