qzdoom-gpl/Makefile.mgw
Randy Heit 3bfcc5c09c - Removed lots of spc_* cvars that are no longer meaningful and changed
spc_amp from a x.4 fixed point number to a normal float.
- Switched SPC playback from the external SNESAPU.DLL to Blargg's LGPL
  snes_spc library. I've compiled it with the fast DSP rather than the
  highly accurate one, since I didn't notice a meaningful difference between
  the two in my limited testing. In short: SPC playback is now built in to
  ZDoom. You don't need to download anything extra to make it work, and it
  also works on Linux as well as Windows (though building with Linux is
  currently untested).
- Fixed: Stereo separation was calculated very wrongly when in 2D sound mode.


SVN r794 (trunk)
2008-03-11 22:17:57 +00:00

58 lines
1.3 KiB
Text

RELEASETARGET = zdoomgcc.exe
DEBUGTARGET = zdoomgccd.exe
all: basetools game
debug: basetools debuggame
release: basetools game
ifndef CONFIG
CONFIG=Release
endif
game: basetools ccdv.exe
@$(MAKE) -f Makefile.mingw
debuggame: basetools ccdv.exe
@$(MAKE) CONFIG=Debug -f Makefile.mingw
$(RELEASETARGET): game
$(DEBUGTARGET): debuggame
basetools: ccdv.exe
$(MAKE) -C tools/lemon
$(MAKE) -C tools/re2c
$(MAKE) -C zlib -f Makefile.mgw
$(MAKE) -C tools/makewad
$(MAKE) -C tools/dehsupp
$(MAKE) -C tools/xlatcc
$(MAKE) -C tools/fixrtext
$(MAKE) -C wadsrc -f Makefile.mgw
$(MAKE) -C jpeg-6b -f Makefile.mgw
$(MAKE) -C snes_spc
cleanexe:
@$(MAKE) -C . -f Makefile.mingw clean
clean:
@$(MAKE) -C tools/lemon clean
@$(MAKE) -C tools/re2c clean
@$(MAKE) -C tools/dehsupp clean
@$(MAKE) -C tools/makewad clean
@$(MAKE) -C tools/xlatcc clean
@$(MAKE) -C tools/fixrtext clean
@$(MAKE) -C wadsrc -f Makefile.mgw clean
@$(MAKE) -C . -f Makefile.mingw clean
@$(MAKE) -C zlib -f Makefile.mgw clean
@$(MAKE) -C jpeg-6b -f Makefile.mgw clean
@$(MAKE) -C snes_spc clean
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
rm -f ccdv.exe
else
del /q /f ccdv.exe 2>nul
endif
cleandep:
@$(MAKE) -C . -f Makefile.mingw cleandep
ccdv.exe: ccdv-win32.c
@gcc -Os -s -nostdlib -fomit-frame-pointer -o ccdv.exe ccdv-win32.c -lkernel32 -luser32