aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-01-02 21:53:45 +0000
committerXin LI <delphij@FreeBSD.org>2013-01-02 21:53:45 +0000
commitc323c12cd8cea3384b83ddef0592138f8eccbe70 (patch)
treeedbe0c815ff6e60da0ddf4265407ce18f44b668f /makefile
parentb0f5e94e3f34717e78a265dc61c6c45406a258d0 (diff)
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/makefile b/makefile
index 52c7424b34c1..88f992421561 100644
--- a/makefile
+++ b/makefile
@@ -26,15 +26,15 @@ CFLAGS = -g
CFLAGS = -O2
CFLAGS =
-CC = gcc -Wall -g
-CC = cc
CC = gcc -Wall -g -Wwrite-strings
CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
+CC = gcc -g -Wall -pedantic
CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
-YACC = bison -y
-YACC = yacc
-YFLAGS = -d
+YACC = bison -d -y
+YACC = yacc -d -S
+#YFLAGS = -d -S
+ # -S uses sprintf in yacc parser instead of sprint
OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o