Ignore:
Timestamp:
2009-05-19T16:54:40+12:00 (15 years ago)
Author:
ak19
Message:

Dr Bainbridge updated the Windows makefiles to 1. Take the DEBUG flag so that we can recompile all of GS2 in the Vis C++ 2005 Express Edition command prompt and then use its Debugger on the C code. 2. Now GS2 make clean command cleans up all object and lib files that its make generates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/w32server/win32.mak

    r18077 r19521  
    3838
    3939GSDL_VC4 = 0
     40DEBUG = 0
    4041ENABLE_ACCENTFOLD = 1
    4142USE_SQLITE = 1
    4243
     44!IF $(DEBUG)
     45CXXFLAGS = -DEBUG -Z7 /errorReport:prompt
     46LDFLAGS = -DEBUG -Z7 /errorReport:prompt
     47!ELSE
     48CXXFLAGS =
     49LDFLAGS =
     50!ENDIF
     51
    4352
    4453!IF $(GSDL_VC4)
    45 CPPFLAGS = -GX
     54CXXFLAGS = $(CXXFLAGS) -GX
    4655!ELSE
    47 CPPFLAGS = -EHsc
     56CXXFLAGS = $(CXXFLAGS) -EHsc
    4857!ENDIF
    4958
     
    6978        -I"$(INDEXERS_DIR)\mg\lib" -I"$(INDEXERS_DIR)\mg\src\text" \
    7079        -I"$(INDEXERS_DIR)\mgpp\lib" -I"$(INDEXERS_DIR)\mgpp\text"
    71 LDFLAGS =
     80
    7281LIBS = "$(COMMON_PACKAGES_DIR)\windows\crypt\crypt\crypt.lib" "$(COMMON_PACKAGES_DIR)\windows\expat\expat\libexpat.lib" \
    7382        "$(COMMON_PACKAGES_DIR)\gdbm\gdbm-1.8.3\gdbm.lib" $(ACCENTFOLD_LIBS) $(SQLITE_LIBS)
     
    8594
    8695
    87 COMPILE = $(CC) -nologo -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
     96COMPILE = $(CC) -nologo -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
    8897LINK = $(CC) -nologo $(LDFLAGS) -Fe"$@"
    8998
     
    157166    del *.obj
    158167    del $(EXECUTABLE)
    159 
     168    if exist *.pdb del *.pdb
    160169
    161170# Resources stuff
Note: See TracChangeset for help on using the changeset viewer.