Merge pull request #9 from atsampson/master
makefile fixes: allow parallel make and work with pmake
This commit is contained in:
commit
2dc7e5ff1a
5
makefile
5
makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue