summaryrefslogtreecommitdiff
path: root/ext/dl/depend
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
commit736b081e92a081ffe274a62fe420a4b178540f04 (patch)
tree517ad183490225b26029ee6a42193f7dee766e1c /ext/dl/depend
parentbb092343b44204e57c9bd3035f05503a3e68f5f0 (diff)
Get rid of the RUBY, and use CPPFLAGS="$(CPPFLAGS) -DDEBUG"
in the debug phase. (Thanks Nakada) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/depend')
-rw-r--r--ext/dl/depend3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/dl/depend b/ext/dl/depend
index 50ef5cebbf..c66a7f0daf 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"