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:
Aaron Giles 2008-02-13 07:40:12 +00:00
parent 42ddf4508b
commit 74015ed586
2 changed files with 4 additions and 14 deletions

View file

@ -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

View file

@ -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 > $@