Combine some suffix rules.

This commit is contained in:
mycroft 1993-07-17 12:29:17 +00:00
parent 3aed8ce5e5
commit 3a5556e27f
2 changed files with 3 additions and 16 deletions

View File

@ -35,22 +35,12 @@ BINMODE?= 555
@${LD} -X -r ${.TARGET}
@mv a.out ${.TARGET}
.cc.o:
.cc.o .C.o:
${CXX} ${CXXFLAGS} -c ${.IMPSRC}
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
.cc.po:
${CXX} -p ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET}
@mv a.out ${.TARGET}
.C.o:
${CXX} ${CXXFLAGS} -c ${.IMPSRC}
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
.C.po:
.cc.po .C.po:
${CXX} -p ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET}
@mv a.out ${.TARGET}

View File

@ -50,10 +50,7 @@ YFLAGS=-d
.c.o:
${CC} ${CFLAGS} -c ${.IMPSRC}
.cc.o:
${CXX} ${CXXFLAGS} -c ${.IMPSRC}
.C.o:
.cc.o .C.o:
${CXX} ${CXXFLAGS} -c ${.IMPSRC}
.p.o: