mirror of
https://github.com/diasurgical/devilution.git
synced 2026-05-21 05:40:54 +00:00
Added precompiled headers (PCH) and enable minimal rebuild to improve compilation speed for build reruns.
This makes rebuilds near instantaneous, as long as the header files aren't changed. (Same settings as the VC gui)
This commit is contained in:
+4
-4
@@ -31,13 +31,13 @@ else
|
||||
VC6_LINK = wine $(VC6_BIN_DIR)/link.exe
|
||||
endif
|
||||
|
||||
CFLAGS=/nologo /c /GX /W3 /O1 /I $(VC6_INC_DIR) /FD /MT /D "NDEBUG" /D "WIN32" /D "_WINDOWS"
|
||||
CFLAGS=/nologo /c /GX /W3 /O1 /I $(VC6_INC_DIR) /FD /MT /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fp"Diablo.pch" /YX /Gm
|
||||
LINKFLAGS=/nologo /subsystem:windows /machine:I386 /incremental:no
|
||||
|
||||
ifeq ($(MAKE_BUILD),pdb)
|
||||
VC_LINK=$(VC6_LINK)
|
||||
CFLAGS+= /Zi
|
||||
LINKFLAGS+= /pdb:"Diablo.pdb" /LIBPATH:$(VC6_LIB_DIR) /debug
|
||||
VC_LINK = $(VC6_LINK)
|
||||
CFLAGS += /Zi
|
||||
LINKFLAGS += /pdb:"Diablo.pdb" /LIBPATH:$(VC6_LIB_DIR) /debug
|
||||
else
|
||||
VC_LINK=$(VC5_LINK)
|
||||
LINKFLAGS+= /LIBPATH:$(VC5_LIB_DIR)
|
||||
|
||||
Reference in New Issue
Block a user