aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorBrian Kernighan <fakeuser@fake.com>2018-08-24 09:09:59 -0400
committerBrian Kernighan <fakeuser@fake.com>2018-08-24 09:09:59 -0400
commit0f4e1ba922ccd45f7bd47701e923d98566ceb7c5 (patch)
tree374cb9c2ec978afa312a12e52aed3817c3945a22 /makefile
parentb619480f94c4710be9fc7990551a4fa4c876fc0e (diff)
downloadplatform_external_one-true-awk-0f4e1ba922ccd45f7bd47701e923d98566ceb7c5.tar.gz
platform_external_one-true-awk-0f4e1ba922ccd45f7bd47701e923d98566ceb7c5.tar.bz2
platform_external_one-true-awk-0f4e1ba922ccd45f7bd47701e923d98566ceb7c5.zip
added Arnold's fixes, updates to awktest.tar
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/makefile b/makefile
index 8f5906f..3e29e66 100644
--- a/makefile
+++ b/makefile
@@ -23,17 +23,19 @@
# ****************************************************************/
CFLAGS = -g
-CFLAGS = -O2
CFLAGS =
+CFLAGS = -O2
+# compiler options
#CC = gcc -Wall -g -Wwrite-strings
-CC = gcc -g -Wall -pedantic
#CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
#CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
+CC = gcc -g -Wall -pedantic
-YACC = bison -d -y
-# YACC = yacc -d
+# yacc options. pick one; this varies a lot by system.
#YFLAGS = -d -S
+#YACC = bison -d -y
+YACC = yacc -d
# -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