summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/extmk.rb6
-rw-r--r--template/exts.mk.tmpl8
2 files changed, 8 insertions, 6 deletions
@@ -817,9 +817,9 @@ begin
if $gnumake == "yes"
submake = "$(MAKE) -C $(@D)"
else
- submake = "cd $(@D) && "
- config_string("exec") {|str| submake << str << " "}
- submake << "$(MAKE)"
end
targets.each do |tgt|
exts.each do |d|
@@ -110,12 +110,14 @@ def self.column
w
end
objext = RbConfig::CONFIG["OBJEXT"]
if gnumake
submake = "$(MAKE) -C $(@D)"
else
- submake = "cd $(@D) && "
- exec = RbConfig::CONFIG["exec"] and !exec.empty? and submake << exec << " "
- submake << "$(MAKE)"
mflags = " $(MFLAGS)"
end
-%>