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/mg/lib/win32.mak

    r16583 r19524  
    2929AR = lib
    3030CC = cl
    31 CPPFLAGS =
     31
     32DEBUG = 0
     33
     34!IF $(DEBUG)
     35CFLAGS = -DEBUG -Z7 /errorReport:prompt
     36ARFLAGS = /DEBUG /Z7 /errorReport:prompt
     37!ELSE
     38CFLAGS =
     39ARFLAGS =
     40!ENDIF
     41
    3242
    3343DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN -DPARADOCNUM \
     
    3646INCLUDES = -I"." -I"$(MGHOME)"
    3747
    38 COMPILE = $(CC) -c $(DEFS) $(INCLUDES)
     48COMPILE = $(CC) $(CFLAGS) -c $(DEFS) $(INCLUDES)
    3949 
    4050.SUFFIXES: .c .obj
     
    8393libmglib.lib : $(OBJECTS)
    8494        if exist libmglib.lib del libmglib.lib
    85     $(AR) /out:libmglib.lib $(OBJECTS)
     95    $(AR) /out:libmglib.lib $(ARFLAGS) $(OBJECTS)
    8696
    8797install:
Note: See TracChangeset for help on using the changeset viewer.