version 1.12, 2012/05/09 06:17:13 |
version 1.21, 2018/09/08 02:06:08 |
|
|
## $OpenXM: OpenXM_contrib2/windows/engine2000/Makefile.vc,v 1.11 2011/02/07 06:15:23 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/windows/engine2000/Makefile.vc,v 1.20 2016/03/30 18:37:49 ohara Exp $ |
## Makefile for Visual Studio 2008 |
## Makefile for Visual Studio 2008 |
|
|
SRCDIR=..\..\asir2000 |
SRCDIR=..\..\asir2000 |
ASIRLIB=..\asir2000lib\asir2000lib.lib |
ASIRLIB=..\asir2000lib\asir2000lib.lib |
|
|
PARIDEF= -D PARI |
GCDIR= ..\gc |
PARIDIR=..\pari20 |
|
PARIINC= -I $(PARIDIR)\win32 |
|
PARILIB=$(PARIDIR)\libpari.lib |
|
|
|
GCDIR= ..\gc-7.2alpha6 |
|
GCLIB= $(GCDIR)\gc.lib |
GCLIB= $(GCDIR)\gc.lib |
|
|
INCLUDES= -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot $(PARIINC) |
!if "$(ARCH)" == "AMD64" |
DEFS= -D NDEBUG -D VISUAL -D _MBCS -D _CRT_SECURE_NO_WARNINGS -D _CRT_NONSTDC_NO_WARNINGS $(PARIDEF) |
GMPDIR= ..\mpir\x64 |
|
!else |
|
GMPDIR= ..\mpir\win32 |
|
!endif |
|
GMPINC= -I $(GMPDIR) |
|
GMPLIB= $(GMPDIR)\mpc.lib $(GMPDIR)\mpfr.lib $(GMPDIR)\mpir.lib |
|
|
|
INCLUDES= $(GMPINC) -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot |
|
DEFS= -D NDEBUG -D VISUAL -D VISUAL_LIB -D _MBCS -D _CRT_SECURE_NO_WARNINGS -D _CRT_NONSTDC_NO_WARNINGS |
CFLAGS= -nologo -MT -W3 -EHsc -Ox $(DEFS) $(INCLUDES) |
CFLAGS= -nologo -MT -W3 -EHsc -Ox $(DEFS) $(INCLUDES) |
CPPFLAGS = $(CFLAGS) |
CPPFLAGS = $(CFLAGS) |
|
|
|
|
RFLAGS=-l 0x411 -d NDEBUG |
RFLAGS=-l 0x411 -d NDEBUG |
|
|
LD=link |
LD=link |
LDFLAGS=-nologo -stack:0x10000000 -subsystem:windows -incremental:no -nodefaultlib:libcmt.lib $(ASIRLIB) $(PARILIB) $(GCLIB) ws2_32.lib user32.lib |
LDFLAGS=-nologo -stack:0x10000000 -subsystem:windows -dynamicbase:no -incremental:no $(ASIRLIB) $(GCLIB) $(GMPLIB) ws2_32.lib user32.lib libucrt.lib setargv.obj |
|
|
OBJS= engine2000.res ChildView.obj MainFrm.obj StdAfx.obj calc.obj \ |
OBJS= engine2000.res ChildView.obj MainFrm.obj StdAfx.obj calc.obj \ |
if.obj io.obj ox_asir.obj ox_launch.obj ox_plot.obj ox_plot_win.obj \ |
if.obj io.obj ox_asir.obj ox_launch.obj ox_plot.obj ox_plot_win.obj \ |
plot.obj plotg.obj plotp.obj |
plot.obj plotg.obj plotp.obj if_canvas.obj |
|
|
VPATH=$(SRCDIR)\plot;$(SRCDIR)\io |
VPATH=$(SRCDIR)\plot;$(SRCDIR)\io |
|
|
all: engine.exe |
all: engine.exe |
|
|
clean: |
clean: |
-@del *.obj |
-@del /q *.obj |
-@del engine2000.res |
-@del engine2000.res |
|
|
distclean: clean |
distclean: clean |