mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Use $(SRC_FILE)
and $(OS_DEST_FILE)
NMake combines VPATH and stem with a backslash. The resulting source name is embedded verbatim, backslash included, into the generated file using the `#line` pragma (e.g., "src\gc.rb"). This causes the warning "C4129: Unrecognized character escape sequence".
This commit is contained in:
parent
401932c18f
commit
e2aeb7d977
1 changed files with 2 additions and 2 deletions
|
@ -1353,11 +1353,11 @@ preludes: {$(VPATH)}miniprelude.c
|
||||||
|
|
||||||
{$(srcdir)}.rb.rbbin:
|
{$(srcdir)}.rb.rbbin:
|
||||||
$(ECHO) making $@
|
$(ECHO) making $@
|
||||||
$(Q) $(MINIRUBY) $(tooldir)/mk_rbbin.rb $< > $@
|
$(Q) $(MINIRUBY) $(tooldir)/mk_rbbin.rb $(SRC_FILE) > $(OS_DEST_FILE)
|
||||||
|
|
||||||
{$(srcdir)}.rb.rbinc:
|
{$(srcdir)}.rb.rbinc:
|
||||||
$(ECHO) making $@
|
$(ECHO) making $@
|
||||||
$(Q) $(BASERUBY) $(tooldir)/mk_builtin_loader.rb $<
|
$(Q) $(BASERUBY) $(tooldir)/mk_builtin_loader.rb $(SRC_FILE)
|
||||||
|
|
||||||
$(BUILTIN_BINARY:yes=built)in_binary.rbbin: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/template/builtin_binary.rbbin.tmpl
|
$(BUILTIN_BINARY:yes=built)in_binary.rbbin: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/template/builtin_binary.rbbin.tmpl
|
||||||
$(Q) $(MINIRUBY) $(tooldir)/generic_erb.rb -o $@ \
|
$(Q) $(MINIRUBY) $(tooldir)/generic_erb.rb -o $@ \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue