Misc (re #1751): Delete config.log and config.status on "make distclean/realclean".

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4877 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Nanang Izzuddin 2014-07-14 07:21:58 +00:00
parent 92ca5b5756
commit 0e056499b8
1 changed files with 12 additions and 1 deletions

View File

@ -10,7 +10,7 @@ ifdef MINSIZE
MAKE_FLAGS := MINSIZE=1
endif
all clean dep depend distclean print realclean:
all clean dep depend print:
for dir in $(DIRS); do \
if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
true; \
@ -19,6 +19,17 @@ all clean dep depend distclean print realclean:
fi; \
done
distclean realclean:
for dir in $(DIRS); do \
if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
true; \
else \
exit 1; \
fi; \
done
$(HOST_RM) config.log
$(HOST_RM) config.status
lib:
for dir in $(LIB_DIRS); do \
if $(MAKE) $(MAKE_FLAGS) -C $$dir lib; then \