diff options
-rw-r--r-- | common.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,7 +27,7 @@ REVISION_H = ./.revision.time PLATFORM_D = ./$(PLATFORM_DIR)/.time RDOCOUT = $(EXTOUT)/rdoc CAPIOUT = doc/capi -ID_H_TARGET = ./.id.h.time +ID_H_TARGET = {$(VPATH)}./.id.h.time DMYEXT = dmyext.$(OBJEXT) NORMALMAINOBJ = main.$(OBJEXT) @@ -562,7 +562,7 @@ $(ENC_MK): $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc PHONY: {$(VPATH)}parse.c: {$(VPATH)}parse.y $(srcdir)/tool/ytab.sed -parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c +{$(VPATH)}parse.h: {$(VPATH)}parse.c {$(srcdir)}.y.c: $(ECHO) generating $@ @@ -852,7 +852,7 @@ incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}encdb.h {$(VPATH)}transdb.h {$( insns: $(INSNS) -$(ID_H_TARGET): parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl +$(ID_H_TARGET): {$(VPATH)}parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl $(ECHO) generating id.h $(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --if-change --output=id.h \ --timestamp=$@ \ |