diff options
| author | 2015-02-22 02:31:31 +0100 | |
|---|---|---|
| committer | 2015-02-22 02:31:31 +0100 | |
| commit | 46b916d7b1771115543baf870fbcbe2b0d8e85db (patch) | |
| tree | 38d7f049847c160e3c3026ca8c414af56bcae47b /makefile | |
| parent | d2ea4df4ad7b439697aa1db1ce022dba49aeffdc (diff) | |
Fix ldplayer linking. (nw)
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -943,14 +943,13 @@ else EMULATOROBJ = $(EMULATOROBJLIST) endif -$(EMULATOR): $(EMULATOROBJ) $(SRC)/version.c - $(CC) $(CDEFS) $(CFLAGS) -c $(SRC)/version.c -o $(VERSIONOBJ) +$(EMULATOR): $(VERSIONOBJ) $(EMULATOROBJ) @echo Linking $@... ifeq ($(TARGETOS),emscripten) # Emscripten's linker seems to be stricter about the ordering of files $(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $(VERSIONOBJ) -Wl,--start-group $(EMULATOROBJ) -Wl,--end-group $(LIBS) -o $@ else - $(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $(VERSIONOBJ) $(EMULATOROBJ) $(LIBS) -o $@ + $(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $^ $(LIBS) -o $@ endif ifeq ($(TARGETOS),win32) ifdef SYMBOLS |
