makefiles:

* move verinfo.c to src/build
* move rules for verinfo to src/build/build.mak
This commit is contained in:
Couriersud 2008-02-05 22:32:11 +00:00
parent c96f0df8fa
commit 88940550a1
4 changed files with 14 additions and 11 deletions

2
.gitattributes vendored
View File

@ -8,6 +8,7 @@ docs/windows.txt svneol=native#text/plain
src/build/build.mak svneol=native#text/plain
src/build/file2str.c svneol=native#text/plain
src/build/png2bdc.c svneol=native#text/plain
src/build/verinfo.c svneol=native#text/plain
src/emu/attotime.c svneol=native#text/plain
src/emu/attotime.h svneol=native#text/plain
src/emu/audio/generic.c svneol=native#text/plain
@ -3293,7 +3294,6 @@ src/osd/windows/sound.h svneol=native#text/plain
src/osd/windows/strconv.c svneol=native#text/plain
src/osd/windows/strconv.h svneol=native#text/plain
src/osd/windows/vconv.c svneol=native#text/plain
src/osd/windows/verinfo.c svneol=native#text/plain
src/osd/windows/video.c svneol=native#text/plain
src/osd/windows/video.h svneol=native#text/plain
src/osd/windows/winalloc.c svneol=native#text/plain

View File

@ -57,5 +57,17 @@ $(PNG2BDC): $(PNG2BDCOBJS) $(LIBUTIL) $(LIBOCORE) $(ZLIB) $(EXPAT)
@echo Linking $@...
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
endif
#-------------------------------------------------
# rule for making the verinfo tool
#-------------------------------------------------
VERINFO = $(BUILDOBJ)/verinfo$(EXE)
VERINFOOBJS = \
$(BUILDOBJ)/verinfo.o
$(VERINFO): $(VERINFOOBJS) $(LIBOCORE)
@echo Linking $@...
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
endif

View File

@ -289,17 +289,8 @@ $(LEDUTIL): $(LEDUTILOBJS) $(LIBOCORE)
# rule for making the verinfo tool
#-------------------------------------------------
VERINFO = $(WINOBJ)/verinfo$(EXE)
ifneq ($(CROSS_BUILD),1)
BUILD += $(VERINFO)
VERINFOOBJS = \
$(WINOBJ)/verinfo.o
$(VERINFO): $(VERINFOOBJS) $(LIBOCORE)
@echo Linking $@...
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
endif