summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-22 12:24:12 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-22 12:24:12 +0000
commitc886b360e4379a66ac96167fb3af69c969463efa (patch)
tree626bd16de4c1330f64a6a72e6344c4051e1f7713 /ext
parentb384ac5f656c7ae2ff9ca27b41763250cd51dfb1 (diff)
downloadruby-c886b360e4379a66ac96167fb3af69c969463efa.tar.gz
ruby-c886b360e4379a66ac96167fb3af69c969463efa.tar.xz
ruby-c886b360e4379a66ac96167fb3af69c969463efa.zip
* ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new make
variables: CLEANFILES and DISTCLEANFILES. They'd typically be defined in a file "depend". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 99ad86d97..cb503bdcd 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -480,11 +480,11 @@ EXEEXT = @EXEEXT@
all: $(DLLIB)
clean:; @$(RM) *.#{$OBJEXT} *.so *.sl *.#{$LIBEXT} $(DLLIB)
- @$(RM) *.ilk *.exp *.pdb *.bak
+ @$(RM) *.ilk *.exp *.pdb *.bak $(CLEANFILES)
distclean: clean
@$(RM) Makefile extconf.h conftest.*
- @$(RM) core ruby$(EXEEXT) *~
+ @$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
realclean: distclean
EOS