summaryrefslogtreecommitdiffstats
path: root/ext/dl
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-02 12:06:23 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-02 12:06:23 +0000
commit28653457aef7a3c453c19a4303e99df9a1d811a9 (patch)
tree517ad183490225b26029ee6a42193f7dee766e1c /ext/dl
parentac6edaf6d8478f788916e4cc0de83e8c3a25d32e (diff)
downloadruby-28653457aef7a3c453c19a4303e99df9a1d811a9.tar.gz
ruby-28653457aef7a3c453c19a4303e99df9a1d811a9.tar.xz
ruby-28653457aef7a3c453c19a4303e99df9a1d811a9.zip
Get rid of the RUBY, and use CPPFLAGS="$(CPPFLAGS) -DDEBUG"
in the debug phase. (Thanks Nakada) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/depend3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/dl/depend b/ext/dl/depend
index 50ef5cebb..c66a7f0da 100644
--- a/ext/dl/depend
+++ b/ext/dl/depend
@@ -1,4 +1,3 @@
-RUBY = $(RUBY_INSTALL_NAME)$(EXEEXT)
CLEANFILES = test/test.o
DISTCLEANFILES = call.func callback.func cbtable.func dlconfig.rb dlconfig.h \
test/libtest.so test/*~ *~ mkmf.log
@@ -42,4 +41,4 @@ cbtable.func: mkcbtable.rb dlconfig.rb
@$(RUBY) $< > $@
debug:
- $(MAKE) CFLAGS+=-DDEBUG
+ $(MAKE) CPPFLAGS="$(CPPFLAGS) -DDEBUG"