-comm1.o: $M/manifest $M/mfile1 $M/common macdefs $M/comm1.c
- ${CC} -c ${CFLAGS} -I. -I$M $M/comm1.c
+GREP= egrep
+
+pcclocal.h: $P/localdefs.h /usr/include/pcc.h
+ rm -f pcclocal.h
+ cat /usr/include/pcc.h $P/localdefs.h | $(GREP) '^#[ ]*(define[ ][ ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | sed -e 's/PCC[A-Z]*_//' > pcclocal.h
+
+pcctokens: $P/localdefs.h /usr/include/pcc.h
+ rm -f pcctokens
+ cat /usr/include/pcc.h $P/localdefs.h | $(GREP) '^#[ ]*define[ ][ ]*PCC_' | sed -e 's/^#[ ]*define[ ][ ]*PCC_/%term /' > pcctokens
+
+lint.o: $M/manifest.h macdefs.h $M/pass1.h lmanifest.h
+ ${CC} -c ${CFLAGS} -I$M -I. lint.c