qzdoom/Makefile.mgw
Randy Heit 6cd1e2ce6a - Fixed: CopyPlayer() in p_saveg.cpp should use normal assignment, not
memcpy to copy the player structures.
- Fixed compilation with MinGW again and removed most of the new warnings.

And following is the log that I forgot to paste in for the previous commit:

- Changed the memory management for FString. Instead of using a garbage
  collected heap, it now uses normal heap calls and reference counting to
  implement lazy copying. You may now use bitwise operators to move
  (but not copy!) FStrings around in memory. This means that the
  CopyForTArray template function is gone, since TArrays can now freely
  move their contents around without bothering with their specifics.
  
  There is one important caveat, however. It is not acceptable to blindly 0
  an FString's contents. This necessitated the creation of a proper
  constructor for player_s so that it can be reset without using memset. I
  did a quick scan of all memsets in the source and didn't see anything else
  with a similar problem, but it's possible I missed something.
- Fixed: Build tiles were never deallocated.
- Fixed: Using Build's palette.dat only got half the palette right.


SVN r117 (trunk)
2006-05-16 04:19:20 +00:00

44 lines
1.1 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 -f Makefile.mgw
$(MAKE) -C tools/re2c -f Makefile.mgw
$(MAKE) -C wadsrc -f Makefile.mgw
$(MAKE) -C zlib -f Makefile.mgw
$(MAKE) -C flac -f Makefile.mgw
cleanexe:
@$(MAKE) -C . -f Makefile.mingw clean
clean:
@$(MAKE) -C tools/lemon -f Makefile.mgw clean
@$(MAKE) -C tools/re2c -f Makefile.mgw clean
@$(MAKE) -C tools/dehsupp -f Makefile clean
@$(MAKE) -C tools/makewad -f Makefile clean
@$(MAKE) -C tools/xlatcc -f Makefile clean
@$(MAKE) -C wadsrc -f Makefile.mgw clean
@$(MAKE) -C . -f Makefile.mingw clean
@$(MAKE) -C zlib -f Makefile.mgw clean
@$(MAKE) -C flac -f Makefile.mgw clean
del /q /f ccdv.exe 2>nul
ccdv.exe: ccdv-win32.c
@gcc -Os -s -nostdlib -fomit-frame-pointer -o ccdv.exe ccdv-win32.c -lkernel32 -luser32