diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-06-24 01:10:24 -0600 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-06-24 01:10:24 -0600 |
commit | ab911ab204ef1dc8f80cf673ad6362f999fc24bb (patch) | |
tree | 5ede349452b76bbab726529fc0b43b8a6bf7c660 /makefile | |
parent | 4a99bd14d0093b53215c1ec1cc9ee5209028973b (diff) | |
download | one-true-awk-ab911ab204ef1dc8f80cf673ad6362f999fc24bb.tar.gz |
Update makefile, mainly to clean up testdir.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -92,7 +92,7 @@ gitadd: 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.tar + makefile awk.1 testdir gitpush: # only do this once: @@ -102,8 +102,18 @@ gitpush: names: @echo $(LISTING) -clean: +test check: + ./REGRESS + +clean: testclean rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c -cleaner: +cleaner: testclean rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda proctab.c ytab* + +# This is a bit of a band-aid until we can invest some more time +# in the test suite. +testclean: + cd testdir; rm -fr arnold-fixes beebe echo foo foo.td foo1 \ + foo1t foo2 foo2t footot glop glop1 glop2 lilly.diff \ + tempbig tempsmall time |