summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/depend3
-rw-r--r--ext/dl/extconf.rb3
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/dl/depend b/ext/dl/depend
index 3d62fe3421..fba3df7a3d 100644
--- a/ext/dl/depend
+++ b/ext/dl/depend
@@ -1,6 +1,3 @@
-CLEANFILES = test/test.o
-DISTCLEANFILES = call.func callback.func cbtable.func dlconfig.rb dlconfig.h \
- test/libtest.so test/*~ *~ mkmf.log
LDSHARED_TEST = $(LDSHARED) $(LDFLAGS) test/test.o -o test/libtest.so $(LOCAL_LIBS)
libtest.so: test/libtest.so
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb
index bd92313b7e..e712134448 100644
--- a/ext/dl/extconf.rb
+++ b/ext/dl/extconf.rb
@@ -177,6 +177,9 @@ $INSTALLFILES = [
["./dlconfig.h", "$(archdir)$(target_prefix)", "."],
["dl.h", "$(archdir)$(target_prefix)", ""],
]
+$cleanfiles = %w[test/test.o]
+$distcleanfiles = %w[call.func callback.func cbtable.func dlconfig.rb
+./dlconfig.h test/libtest.so test/*~ *~ mkmf.log]
create_makefile('dl')
rescue SystemExit