Ignore:
Timestamp:
2009-05-19T16:59:34+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
  • indexers/trunk/mgpp/text/win32.mak

    r17894 r19524  
    3030ICONV_DIR = ../../packages/windows/iconv/iconv
    3131
     32DEBUG = 0
    3233GSDL_VC4 = 0
    3334ENABLE_ACCENTFOLD = 1
    3435
     36!IF $(DEBUG)
     37CXXFLAGS = -DEBUG -Z7 /errorReport:prompt
     38LDFLAGS = -DEBUG -Z7 /errorReport:prompt
     39!ELSE
     40CXXFLAGS =
     41LDFLAGS =
     42!ENDIF
     43
    3544!IF $(GSDL_VC4)
    36 CPPFLAGS = -GX
     45CXXFLAGS = $(CXXFLAGS) -GX
    3746!ELSE
    38 CPPFLAGS = -EHsc
     47CXXFLAGS = $(CXXFLAGS) -EHsc
    3948!ENDIF
    4049
     
    5362AR = lib
    5463CC = cl
    55 LINK = cl
    5664
    5765DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSILENT -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE \
    5866        -D__STDC__ -D__GNU_LIBRARY__ -D__MSDOS__ $(AFDEFS)
    5967INCLUDES = -I"." -I"$(MGPPHOME)" -I"$(MGPPHOME)\lib" $(AFINCLUDES)
     68COMPILE = $(CC) -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
     69
     70LINK = $(CC) $(LDFLAGS)
     71
    6072LIBS = $(MGPPHOME)\lib\libmgpplib.lib $(AFLIBS)
    61 
    62 COMPILE = $(CC) -c  $(CPPFLAGS) $(DEFS) $(INCLUDES)
    6373
    6474.SUFFIXES:
     
    217227        if exist libmgpptext.lib del libmgpptext.lib
    218228        if exist libmgpppass.lib del libmgpppass.lib
    219 
     229    if exist *.pdb del *.pdb
     230
Note: See TracChangeset for help on using the changeset viewer.