summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
authorGravatarGravatar smf- <smf-@users.noreply.github.com>2012-06-11 18:11:48 +0000
committerGravatarGravatar smf- <smf-@users.noreply.github.com>2012-06-11 18:11:48 +0000
commita2fa173090a9e093d05e7513011dcdbae7893152 (patch)
tree83122ea992e1e07dabef1ca24a915cb72eb169a9 /makefile
parent10dcbb51111f92c8a5fd8e2d91492ff0867ca968 (diff)
stop repeated make all runs from toggling between building chdman & mame due to both being dependent on version.o, which is always recreated when either exe is built.
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 9579bdf1a2f..b4124c6c696 100644
--- a/makefile
+++ b/makefile
@@ -758,10 +758,10 @@ $(sort $(OBJDIRS)):
ifndef EXECUTABLE_DEFINED
-$(EMULATOR): $(VERSIONOBJ) $(EMUINFOOBJ) $(DRIVLISTOBJ) $(DRVLIBS) $(LIBOSD) $(LIBCPU) $(LIBEMU) $(LIBDASM) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(SOFTFLOAT) $(JPEG_LIB) $(FLAC_LIB) $(7Z_LIB) $(FORMATS_LIB) $(ZLIB) $(LIBOCORE) $(RESFILE)
+$(EMULATOR): $(EMUINFOOBJ) $(DRIVLISTOBJ) $(DRVLIBS) $(LIBOSD) $(LIBCPU) $(LIBEMU) $(LIBDASM) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(SOFTFLOAT) $(JPEG_LIB) $(FLAC_LIB) $(7Z_LIB) $(FORMATS_LIB) $(ZLIB) $(LIBOCORE) $(RESFILE)
$(CC) $(CDEFS) $(CFLAGS) -c $(SRC)/version.c -o $(VERSIONOBJ)
@echo Linking $@...
- $(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $^ $(LIBS) -o $@
+ $(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $^ $(VERSIONOBJ) $(LIBS) -o $@
ifeq ($(TARGETOS),win32)
ifdef SYMBOLS
ifndef MSVC_BUILD