cmd line Makefile should work on VS2010 and up
This commit is contained in:
@@ -142,7 +142,7 @@ TARGET_CPU=x86
|
|||||||
# -Zd - generate only public symbols and line numbers for debugging
|
# -Zd - generate only public symbols and line numbers for debugging
|
||||||
# -GS - enable security checks
|
# -GS - enable security checks
|
||||||
#
|
#
|
||||||
ccommon=-c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -c
|
ccommon=-c -Zi -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -c
|
||||||
lflags=/INCREMENTAL:NO /NOLOGO
|
lflags=/INCREMENTAL:NO /NOLOGO
|
||||||
|
|
||||||
!IF "$(TARGET_CPU)" == "x86"
|
!IF "$(TARGET_CPU)" == "x86"
|
||||||
@@ -334,21 +334,21 @@ lflagsUtil = $(ldebug) $(lflags) $(conlibs)
|
|||||||
# - Game build
|
# - Game build
|
||||||
#==========================================
|
#==========================================
|
||||||
|
|
||||||
GAMEPDBFILE= /PDB:"$(O)$(GAME).PDB"
|
GAMEPDBFILE= /DEBUG /PDB:"$(O)$(GAME).PDB"
|
||||||
GAMEMAPFILE= /MAP:"$(O)$(GAME).MAP"
|
GAMEMAPFILE= /MAP:"$(O)$(GAME).MAP"
|
||||||
LIBS= user32.lib winmm.lib $(ZLIB)
|
LIBS= user32.lib winmm.lib $(ZLIB)
|
||||||
|
|
||||||
!IF ("$(GRAPHICAL)"=="Y")
|
!IF ("$(GRAPHICAL)"=="Y")
|
||||||
|
|
||||||
cflagsGame = $(cdebug) $(cflags2) $(guiflags) $(INCLDIR) \
|
cflagsGame = $(cdebug) $(cflags2) $(guiflags) $(INCLDIR) \
|
||||||
$(WINPFLAG) $(DLBFLG) $(GAMEPDBFILE) $(GAMEMAPFILE)
|
$(WINPFLAG) $(DLBFLG)
|
||||||
lflagsGame = $(ldebug) $(lflags) $(guilibs)
|
lflagsGame = $(ldebug) $(lflags) $(guilibs) $(GAMEPDBFILE) $(GAMEMAPFILE)
|
||||||
|
|
||||||
!ELSE
|
!ELSE
|
||||||
|
|
||||||
cflagsGame = $(cdebug) $(cflags2) $(conflags) $(INCLDIR) \
|
cflagsGame = $(cdebug) $(cflags2) $(conflags) $(INCLDIR) \
|
||||||
$(WINPFLAG) $(DLBFLG) $(GAMEPDBFILE) $(GAMEMAPFILE)
|
$(WINPFLAG) $(DLBFLG)
|
||||||
lflagsGame = $(ldebug) $(lflags) $(conlibs)
|
lflagsGame = $(ldebug) $(lflags) $(conlibs) $(GAMEPDBFILE) $(GAMEMAPFILE)
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user