diff --git a/Quake/Makefile.w32 b/Quake/Makefile.w32 index 9af0d46e..8cd9469c 100644 --- a/Quake/Makefile.w32 +++ b/Quake/Makefile.w32 @@ -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 diff --git a/Quake/Makefile.w64 b/Quake/Makefile.w64 index a4de7424..bffce7ed 100644 --- a/Quake/Makefile.w64 +++ b/Quake/Makefile.w64 @@ -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