In msvc/*Makefile change the names of the CPUs to match the values of /ARCHITECTURE in MSVC

This commit is contained in:
Juan Jose Garcia Ripoll 2010-12-18 00:33:25 +01:00
parent ba76dd88fd
commit 110a15dec8
2 changed files with 3 additions and 3 deletions

View file

@ -87,10 +87,10 @@ CFLAGS_SSE=/arch:SSE2
!if "$(ECL_WIN64)" != ""
GMP_BITS=64
GC_CPU=AMD64
GC_CPU=X64
!else
GMP_BITS=32
GC_CPU=X86
GC_CPU=i386
!endif
#

View file

@ -44,7 +44,7 @@ all: gc.lib
$(OBJS) tests\test.obj: $(srcdir)\include\private\gc_priv.h $(srcdir)\include\private\gc_hdrs.h $(srcdir)\include\gc.h $(srcdir)\include\private\gcconfig.h $(srcdir)\include\private\gc_locks.h $(srcdir)\include\private\gc_pmark.h $(srcdir)\include\gc_mark.h $(srcdir)\include\private\msvc_dbg.h
gc.lib: $(OBJS)
!if "$(CPU)" == "X386"
!if "$(CPU)" == "i386"
lib /MACHINE:i386 /out:gc.lib $(OBJS)
!else
lib /MACHINE:X64 /out:gc.lib $(OBJS)