Merge pull request #9 from atsampson/master

makefile fixes: allow parallel make and work with pmake
This commit is contained in:
onetrueawk 2018-08-28 16:05:48 -04:00 committed by GitHub
commit 2dc7e5ff1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -54,11 +54,12 @@ a.out: ytab.o $(OFILES)
$(OFILES): awk.h ytab.h proto.h
ytab.o: awk.h proto.h awkgram.y
ytab.c: awk.h proto.h awkgram.y
$(YACC) $(YFLAGS) awkgram.y
mv y.tab.c ytab.c
mv y.tab.h ytab.h
$(CC) $(CFLAGS) -c ytab.c
ytab.h: ytab.c
proctab.c: maketab
./maketab >proctab.c