mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Changed VERINFO to build always. All tools in build should build for all platforms.
Fixed dependency problem in windows.mak due to the VERINFO move. Windows builds now work the first time.
This commit is contained in:
parent
42ddf4508b
commit
74015ed586
2 changed files with 4 additions and 14 deletions
|
@ -25,11 +25,13 @@ OBJDIRS += \
|
|||
|
||||
FILE2STR = $(BUILDOUT)/file2str$(EXE)
|
||||
PNG2BDC = $(BUILDOUT)/png2bdc$(EXE)
|
||||
VERINFO = $(BUILDOUT)/verinfo$(EXE)
|
||||
|
||||
ifneq ($(CROSS_BUILD),1)
|
||||
BUILD += \
|
||||
$(FILE2STR) \
|
||||
$(PNG2BDC) \
|
||||
$(VERINFO) \
|
||||
|
||||
|
||||
|
||||
|
@ -63,8 +65,6 @@ $(PNG2BDC): $(PNG2BDCOBJS) $(LIBUTIL) $(LIBOCORE) $(ZLIB)
|
|||
# verinfo
|
||||
#-------------------------------------------------
|
||||
|
||||
VERINFO = $(BUILDOBJ)/verinfo$(EXE)
|
||||
|
||||
VERINFOOBJS = \
|
||||
$(BUILDOBJ)/verinfo.o
|
||||
|
||||
|
|
|
@ -285,16 +285,6 @@ $(LEDUTIL): $(LEDUTILOBJS) $(LIBOCORE)
|
|||
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
# rule for making the verinfo tool
|
||||
#-------------------------------------------------
|
||||
|
||||
ifneq ($(CROSS_BUILD),1)
|
||||
BUILD += $(VERINFO)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
# generic rule for the resource compiler
|
||||
#-------------------------------------------------
|
||||
|
@ -311,6 +301,6 @@ $(WINOBJ)/%.res: $(WINSRC)/%.rc | $(OSPREBUILD)
|
|||
|
||||
$(RESFILE): $(WINSRC)/mame.rc $(WINOBJ)/mamevers.rc
|
||||
|
||||
$(WINOBJ)/mamevers.rc: $(VERINFO) $(SRC)/version.c
|
||||
$(WINOBJ)/mamevers.rc: $(OBJ)/build/verinfo$(EXE) $(SRC)/version.c
|
||||
@echo Emitting $@...
|
||||
@$(VERINFO) $(SRC)/version.c > $@
|
||||
@$(OBJ)/build/verinfo$(EXE) $(SRC)/version.c > $@
|
||||
|
|
Loading…
Reference in a new issue