diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-12-20 13:33:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-12-21 00:50:32 +0900 |
commit | c72a748b277af14e807aa3c4815a0287a6dce41c (patch) | |
tree | 1aed879f0cbbfaca0f2e59b864400720b8a4f82a /win32 | |
parent | 25635bbcee64f052e9d66298c25ff3005583bc58 (diff) |
Win32: add dependency of revision.h
When out-of-place build, and revision.h does not exist in the source
directory, `VPATH` fallbacks to the current directory.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 43349bf5f3..ff3a43774e 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1347,6 +1347,10 @@ win32/win32.$(OBJEXT): {$(VPATH)}id.h dir.$(OBJEXT) win32/win32.$(OBJEXT): {$(srcdir)}win32/dir.h file.$(OBJEXT) win32/win32.$(OBJEXT): {$(VPATH)}win32/file.h +!if "$(srcdir)" != "." && "$(HAVE_BASERUBY)" == "yes" +revision.h: $(REVISION_H) +!endif + ext/extinit.obj: ext/extinit.c $(SETUP) $(ECHO) compiling ext/extinit.c $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c |