version 1.196, 2004/01/27 03:31:48 |
version 1.197, 2004/01/29 01:48:45 |
Line 12 PROG= ${PROG_CXX} |
|
Line 12 PROG= ${PROG_CXX} |
|
.endif |
.endif |
|
|
##### Basic targets |
##### Basic targets |
.PHONY: cleanextra cleanobjs cleanprog proginstall scriptsinstall |
|
realinstall: proginstall scriptsinstall |
realinstall: proginstall scriptsinstall |
clean: cleanprog |
clean: cleanprog |
|
|
|
|
|
|
realall: ${PROG} ${SCRIPTS} |
realall: ${PROG} ${SCRIPTS} |
|
|
cleanprog: cleanobjs cleanextra |
cleanprog: .PHONY cleanobjs cleanextra |
rm -f a.out [Ee]rrs mklog core *.core .gdbinit ${PROG} |
rm -f a.out [Ee]rrs mklog core *.core .gdbinit ${PROG} |
|
|
cleanobjs: |
cleanobjs: .PHONY |
.if defined(OBJS) && !empty(OBJS) |
.if defined(OBJS) && !empty(OBJS) |
rm -f ${OBJS} ${LOBJS} |
rm -f ${OBJS} ${LOBJS} |
.endif |
.endif |
|
|
cleanextra: |
cleanextra: .PHONY |
.if defined(CLEANFILES) && !empty(CLEANFILES) |
.if defined(CLEANFILES) && !empty(CLEANFILES) |
rm -f ${CLEANFILES} |
rm -f ${CLEANFILES} |
.endif |
.endif |
Line 233 ${DESTDIR}${BINDIR}/${PROGNAME}: .MADE |
|
Line 232 ${DESTDIR}${BINDIR}/${PROGNAME}: .MADE |
|
.if !target(proginstall) |
.if !target(proginstall) |
proginstall:: |
proginstall:: |
.endif |
.endif |
|
.PHONY: proginstall |
|
|
.if defined(SCRIPTS) && !target(scriptsinstall) |
.if defined(SCRIPTS) && !target(scriptsinstall) |
SCRIPTSDIR?=${BINDIR} |
SCRIPTSDIR?=${BINDIR} |
Line 269 ${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDI |
|
Line 269 ${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDI |
|
.if !target(scriptsinstall) |
.if !target(scriptsinstall) |
scriptsinstall:: |
scriptsinstall:: |
.endif |
.endif |
|
.PHONY: scriptsinstall |
|
|
lint: ${LOBJS} |
lint: ${LOBJS} |
.if defined(LOBJS) && !empty(LOBJS) |
.if defined(LOBJS) && !empty(LOBJS) |