Make clean work better
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
414c6db78d
commit
783ca15e4e
1 changed files with 7 additions and 1 deletions
|
|
@ -59,5 +59,11 @@ clean:
|
|||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile r_clean
|
||||
|
||||
%.clean:
|
||||
@rm -f $*.R $*_wrap.so $*_wrap.cpp $*_wrap.c $*_runme.Rout $*.Rout
|
||||
@rm -f $*.R $*_wrap.so $*_wrap.cpp $*_wrap.c $*_wrap.o $*_runme.Rout $*.Rout
|
||||
@if [ -f $(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/$*.list ]; then ( \
|
||||
for f in `cat $(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/$*.list` ; do \
|
||||
rm -f $${f}.R $${f}.Rout ; \
|
||||
done ) \
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue