aboutsummaryrefslogtreecommitdiffstats
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 09:13:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 09:13:19 +0000
commit5dc3da08436eb524c2700bd569ea9c3f748e6f8e (patch)
tree63a1a24ff6fea722e3d7ae77326b21e6c9b40288 /win32/Makefile.sub
parent329776cd3d219c0453283a1fcf835c55754419ec (diff)
downloadruby-5dc3da08436eb524c2700bd569ea9c3f748e6f8e.tar.gz
use ifchange tool for rb_mjit_header.h
* Makefile.in, win32/Makefile.sub (rb_mjit_header.h): use ifchange tool. cmp command is not available on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 15f13a90ca..a32639728b 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -1189,7 +1189,7 @@ probes.h: {$(VPATH)}probes.dmyh
rb_mjit_header.h: PHONY probes.h
$(ECHO) building $@
$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -DMJIT_HEADER $(srcdir)/vm.c -P
- $(Q) (cmp vm.i $@ && $(ECHO0) $@ unchanged && $(RM) vm.i) || $(MV) vm.i $@
+ $(Q) $(IFCHANGE) $@ vm.i
$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
$(ECHO) building $@