summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
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
commit9e214f30c4f2bb6e6529c1bb988be1e46026919f (patch)
tree626bd16de4c1330f64a6a72e6344c4051e1f7713 /ext/extmk.rb.in
parent33c679ba9a5af00cc7243ace1d899e221df8a719 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-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 99ad86d..cb503bd 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