- use $(srcdir) to make VPATH compile work for bximage

This commit is contained in:
Bryce Denney 2002-11-20 13:01:57 +00:00
parent 54cf0b4cf5
commit bb428aaeb9

View File

@ -220,8 +220,8 @@ bochs_plugins:
cd gui && $(MAKE) plugins
cd iodev && $(MAKE) plugins
bximage@EXE@: misc/bximage.o
@LINK_CONSOLE@ misc/bximage.o
bximage@EXE@: $(srcdir)/misc/bximage.o
@LINK_CONSOLE@ $(srcdir)/misc/bximage.o
# compile with console CXXFLAGS, not gui CXXFLAGS
misc/bximage.o: misc/bximage.c
@ -235,7 +235,7 @@ $(BX_OBJS): $(BX_INCLUDES)
bxversion.h:
$(RM) -f bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' > bxversion.h
echo '// $$Id: Makefile.in,v 1.108 2002-11-20 03:17:12 bdenney Exp $$' >> bxversion.h
echo '// $$Id: Makefile.in,v 1.109 2002-11-20 13:01:57 bdenney Exp $$' >> bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' >> bxversion.h
echo '// This file is generated by "make bxversion.h"' >> bxversion.h
echo "#define VER_STRING \"$(VER_STRING)\"" >> bxversion.h