Ignore:
Timestamp:
2006-02-15T14:36:10+13:00 (18 years ago)
Author:
mdewsnip
Message:

Added a "GSDL_VC4" option that has to be specified with the nmake command when using Visual C++ 4. This is used to determine whether "-GX" (Visual C++ 4) or "-EHsc" (Visual C++ 6/Visual Studio 2005) is specified as a command-line option to the compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/hashfile/win32.mak

    r11253 r11256  
    2626 
    2727GSDLHOME = ..\..
     28GSDL_VC4 = 0
    2829
    2930AR = lib
    3031CC = cl
    31 CPPFLAGS =
     32
     33!IF $(GSDL_VC4)
     34CPPFLAGS = -GX
     35!ELSE
     36CPPFLAGS = -EHsc
     37!ENDIF
     38
    3239DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_CRT_SECURE_NO_DEPRECATE
    3340INCLUDES = -I"$(GSDLHOME)\src\hashfile"
    3441LIBS =
    3542
    36 COMPILE = $(CC) -nologo -c -GX $(DEFS) $(INCLUDES)
     43COMPILE = $(CC) -nologo -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
    3744LINK = $(CC) -nologo $(LDFLAGS)
    3845
Note: See TracChangeset for help on using the changeset viewer.