Add the single suffix rules for C++.
(While there, I also moved the single suffix C rules beside the double suffix ones so they are easier to find) PR: 24438 Submitted by: Georg-W. Koltermann <gwk@sgi.com>
This commit is contained in:
parent
0b310c5261
commit
f71f419ff4
@ -168,16 +168,19 @@ HTAGSFLAGS=
|
|||||||
|
|
||||||
# non-Posix rule set
|
# non-Posix rule set
|
||||||
|
|
||||||
.c:
|
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
|
|
||||||
|
|
||||||
.sh:
|
.sh:
|
||||||
cp -p ${.IMPSRC} ${.TARGET}
|
cp -p ${.IMPSRC} ${.TARGET}
|
||||||
chmod a+x ${.TARGET}
|
chmod a+x ${.TARGET}
|
||||||
|
|
||||||
|
.c:
|
||||||
|
${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} -c ${.IMPSRC}
|
${CC} ${CFLAGS} -c ${.IMPSRC}
|
||||||
|
|
||||||
|
.cc .cpp .cxx .C:
|
||||||
|
${CXX} ${CXXFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
|
||||||
|
|
||||||
.cc.o .cpp.o .cxx.o .C.o:
|
.cc.o .cpp.o .cxx.o .C.o:
|
||||||
${CXX} ${CXXFLAGS} -c ${.IMPSRC}
|
${CXX} ${CXXFLAGS} -c ${.IMPSRC}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user