aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBrian Kernighan <fakeuser@fake.com>2018-08-15 10:45:03 -0400
committerBrian Kernighan <fakeuser@fake.com>2018-08-15 10:45:03 -0400
commit3ed9e245db3f306c2898b5ad7b541b230d121070 (patch)
tree1d11cd11d5342222858d630d3be87f79348b139b /makefile
parent2af1c7c65841101bda4f0e4651d6c5b77d7fd462 (diff)
downloadone-true-awk-3ed9e245db3f306c2898b5ad7b541b230d121070.tar.gz
set baseline so Arnold can send pull request
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/makefile b/makefile
index b2c8697..14a9585 100644
--- a/makefile
+++ b/makefile
@@ -27,12 +27,12 @@ CFLAGS = -O2
CFLAGS =
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
+CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
YACC = bison -d -y
-YACC = yacc -d -S
+YACC = yacc -d
#YFLAGS = -d -S
# -S uses sprintf in yacc parser instead of sprint
@@ -80,13 +80,14 @@ tar:
ls -l awk.zip
gitadd:
- git add README LICENSE \
+ git add README LICENSE FIXES \
awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \
lib.c run.c tran.c \
makefile awk.1 awktest.a
gitpush:
- git remote add origin https://github.com/onetrueawk/awk.git
+ # only do this once:
+ # git remote add origin https://github.com/onetrueawk/awk.git
git push -u origin master
names:
@@ -94,3 +95,6 @@ names:
clean:
rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c
+
+cleaner:
+ rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda proctab.c ytab*