version 1.2, 2009/03/10 16:26:11 |
version 1.13, 2013/11/10 16:18:36 |
|
|
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.vc,v 1.1 2009/03/09 16:00:42 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.vc,v 1.12 2012/05/30 02:24:33 ohara Exp $ |
## Makefile for Visual Studio 2008 |
## Makefile for Visual Studio 2008 |
|
|
!if "$(ARCH)" == "" |
!if "$(ARCH)" == "" |
Line 11 CPU_OBJ= asmalpha.obj |
|
Line 11 CPU_OBJ= asmalpha.obj |
|
CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
!endif |
!endif |
|
|
!if "$(WITH_PARI)" == "no" |
PARIDEF= -D PARI -D LONG_IS_32BIT |
|
|
PARIDEF= |
|
PARIINC= |
|
PARILIB= |
|
|
|
!else |
|
|
|
PARIDEF= -D PARI |
|
PARIDIR= ..\windows\pari20 |
PARIDIR= ..\windows\pari20 |
PARIINC= -I $(PARIDIR)\win32com |
PARIINC= -I $(PARIDIR)\win32 |
PARILIB= $(PARIDIR)\libpari.lib |
PARILIB= $(PARIDIR)\libpari.lib |
|
|
!endif |
GCDIR= ..\windows\gc-7.2 |
|
|
GCDIR= ..\windows\gc-7.1 |
|
GCINC = -I $(GCDIR)\include |
GCINC = -I $(GCDIR)\include |
GCLIB= $(GCDIR)\gc.lib |
GCLIB= $(GCDIR)\gc.lib |
|
|
DEFS = $(PARIDEF) -D NDEBUG -D VISUAL -D WIN32 -D __WIN32__ -D CONSOLE -D SILENT -D INET -D LONG_IS_32BIT -D HAVE_UNSIGNED_LONG_LONG -D HMEXT -D ULONG_NOT_DEFINED -D ASIR_LIBDIR=\"c:/asir/stdlib\" |
DEFS = $(PARIDEF) -D NDEBUG -D VISUAL -D _CRT_SECURE_NO_WARNINGS -D _CRT_NONSTDC_NO_WARNINGS -D WIN32 -D INET -D GC7 -D SIZEOF_LONG=4 -D HAVE_UNSIGNED_LONG_LONG -D ASIR_LIBDIR=\"c:/asir/stdlib\" |
INCLUDES= $(PARIINC) $(GCINC) -I include -I parse |
INCLUDES= $(PARIINC) $(GCINC) -I include -I parse |
CFLAGS=-nologo -MT -W3 -Ox $(INCLUDES) $(DEFS) |
CFLAGS=-nologo -MT -W3 -Ox $(INCLUDES) $(DEFS) |
|
|
LD=link |
LD=link |
LDFLAGS= /nologo /stack:0x10000000 /subsystem:console /incremental:no /nodefaultlib:libcmt.lib $(PARILIB) $(GCLIB) ws2_32.lib advapi32.lib user32.lib |
LDFLAGS= -nologo -stack:0x10000000 -subsystem:console -incremental:no -nodefaultlib:libcmt.lib $(PARILIB) $(GCLIB) ws2_32.lib advapi32.lib user32.lib |
|
|
OBJS= _distm.obj A.obj al.obj alg.obj algnum.obj arith.obj array.obj \ |
OBJS= _distm.obj A.obj al.obj alg.obj algnum.obj arith.obj array.obj \ |
asir2000_dummy.obj batch.obj bf.obj biovar.obj bload.obj \ |
asir2000_dummy.obj batch.obj bf.obj biovar.obj bload.obj \ |
Line 61 VPATH=asm;builtin;engine;fft;io;parse;gc |
|
Line 51 VPATH=asm;builtin;engine;fft;io;parse;gc |
|
all: asir.exe |
all: asir.exe |
|
|
asir.exe: $(OBJS) $(CPU_OBJ) |
asir.exe: $(OBJS) $(CPU_OBJ) |
$(LD) $(LDFLAGS) /out:$@ $** |
$(LD) $(LDFLAGS) -out:$@ $** |
|
|
clean: |
clean: |
-@del *.obj |
-@del /q *.obj |
|
|
distclean: clean |
distclean: clean |
-@del asir.exe |
-@del asir.exe |