Changeset 15665

Show
Ignore:
Timestamp:
23.05.2008 12:03:02 (11 years ago)
Author:
mdewsnip
Message:

Some fixes to Makefile for compiling with Visual Studio 2005.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • indexers/trunk/mgpp/text/win32.mak

    r15624 r15665  
    2929UNAC_DIR = ../../packages/unac 
    3030 
     31GSDL_VC4 = 0 
    3132ENABLE_ACCENTFOLD = 1 
     33 
     34!IF $(GSDL_VC4) 
     35CPPFLAGS = -GX 
     36!ELSE 
     37CPPFLAGS = -EHsc 
     38!ENDIF 
    3239 
    3340!IF $(ENABLE_ACCENTFOLD) 
     
    4552AR = lib 
    4653CC = cl 
    47 CPPFLAGS = -GX 
    4854LINK = cl 
    4955 
    50 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSHORT_SUFFIX -D__STDC__ -D__GNU_LIBRARY__ -D__MSDOS__ $(AFDEFS) 
     56DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE \ 
     57        -D__STDC__ -D__GNU_LIBRARY__ -D__MSDOS__ $(AFDEFS) 
    5158INCLUDES = -I"." -I"$(MGPPHOME)" -I"$(MGPPHOME)\lib" $(AFINCLUDES) 
    5259LIBS = $(MGPPHOME)\lib\libmgpplib.lib $(AFLIBS)