mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
use specific target flags with windres (pe-i386/pe-x86-64 for w32/w64),
just in case the compiler toolchain is a multilib one. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1298 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
39a6b46713
commit
f22eed7f57
2 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ DEFAULT_TARGET := quakespasm.exe
|
|||
%.o: %.c
|
||||
$(CC) $(DFLAGS) -c $(CFLAGS) $(SDL_CFLAGS) -o $@ $^
|
||||
%.res: ../Windows/%.rc
|
||||
$(WINDRES) --output-format=coff -I../Windows -o $@ $^
|
||||
$(WINDRES) -I../Windows --output-format=coff --target=pe-i386 -o $@ $^
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# objects
|
||||
|
|
|
@ -181,7 +181,7 @@ DEFAULT_TARGET := quakespasm.exe
|
|||
%.o: %.c
|
||||
$(CC) $(DFLAGS) -c $(CFLAGS) $(SDL_CFLAGS) -o $@ $^
|
||||
%.res: ../Windows/%.rc
|
||||
$(WINDRES) --output-format=coff -I../Windows -o $@ $^
|
||||
$(WINDRES) -I../Windows --output-format=coff --target=pe-x86-64 -o $@ $^
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# objects
|
||||
|
|
Loading…
Reference in a new issue