Skip to content

Commit

Permalink
* ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new make
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
knu committed Jul 22, 2001
1 parent 33c679b commit 9e214f3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Sun Jul 22 21:16:43 2001 Akinori MUSHA <[email protected]>

* 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".

Fri Jul 20 22:55:01 2001 Akinori MUSHA <[email protected]>

* gc.c (ruby_xrealloc): fix a dangling bug which led memory
Expand Down
4 changes: 2 additions & 2 deletions ext/extmk.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/mkmf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,11 @@ def create_makefile(target, srcdir = File.dirname($0))
all: $(DLLIB)
clean:; @$(RM) *.#{$OBJEXT} *.so *.sl *.a $(DLLIB)
@$(RM) $(TARGET).lib $(TARGET).exp $(TARGET).ilk *.pdb
@$(RM) $(TARGET).lib $(TARGET).exp $(TARGET).ilk *.pdb $(CLEANFILES)
distclean: clean
@$(RM) Makefile extconf.h conftest.* mkmf.log
@$(RM) core ruby$(EXEEXT) *~
@$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
realclean: distclean
Expand Down

0 comments on commit 9e214f3

Please sign in to comment.