Change make clean behaviour.
This commit is contained in:
parent
90b0158747
commit
b947ccd469
1 changed files with 2 additions and 2 deletions
|
@ -446,7 +446,7 @@ clean:
|
||||||
${DIR_LEAVE}; \
|
${DIR_LEAVE}; \
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} ${DEPS}; do \
|
for i in ${DEPS} ${OBJS} ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${CLEAN} ${CLEAN_LIB}; do \
|
||||||
if test -f $$i -o -d $$i; then \
|
if test -f $$i -o -d $$i; then \
|
||||||
if rm -fr $$i; then \
|
if rm -fr $$i; then \
|
||||||
${DELETE_OK}; \
|
${DELETE_OK}; \
|
||||||
|
@ -463,7 +463,7 @@ distclean: clean
|
||||||
${DIR_LEAVE}; \
|
${DIR_LEAVE}; \
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} .deps *~; do \
|
for i in ${DISTCLEAN} .deps *~; do \
|
||||||
if test -f $$i -o -d $$i; then \
|
if test -f $$i -o -d $$i; then \
|
||||||
if rm -fr $$i; then \
|
if rm -fr $$i; then \
|
||||||
${DELETE_OK}; \
|
${DELETE_OK}; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue