version 1.2, 2009/03/10 16:26:12 |
version 1.11, 2011/02/07 06:15:23 |
|
|
## $OpenXM: OpenXM_contrib2/windows/engine2000/Makefile.vc,v 1.1 2009/03/09 16:00:42 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/windows/engine2000/Makefile.vc,v 1.10 2011/02/04 09:45:48 ohara Exp $ |
## Makefile for Visual Studio 2008 |
## Makefile for Visual Studio 2008 |
|
|
SRCDIR=..\..\asir2000 |
SRCDIR=..\..\asir2000 |
ASIRLIB=..\asir2000lib\asir2000lib.lib |
ASIRLIB=..\asir2000lib\asir2000lib.lib |
|
|
!if "$(WITH_PARI)" == "no" |
|
|
|
PARIDEF= |
|
PARIINC= |
|
PARILIB= |
|
|
|
!else |
|
|
|
PARIDEF= -D PARI |
PARIDEF= -D PARI |
PARIDIR=..\pari20 |
PARIDIR=..\pari20 |
PARIINC= -I $(PARIDIR)\win32com |
PARIINC= -I $(PARIDIR)\win32 |
PARILIB=$(PARIDIR)\libpari.lib |
PARILIB=$(PARIDIR)\libpari.lib |
|
|
!endif |
|
|
|
GCDIR= ..\gc-7.1 |
GCDIR= ..\gc-7.1 |
GCLIB= $(GCDIR)\gc.lib |
GCLIB= $(GCDIR)\gc.lib |
|
|
INCLUDES= -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot $(PARIINC) |
INCLUDES= -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot $(PARIINC) |
DEFS= -D NDEBUG -D WIN32 -D _WINDOWS -D _MBCS -D VISUAL -D VISUAL_LIB $(PARIDEF) |
DEFS= -D NDEBUG -D VISUAL -D _MBCS -D _CRT_SECURE_NO_WARNINGS -D _CRT_NONSTDC_NO_WARNINGS $(PARIDEF) |
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 -incremental:no -nodefaultlib:libcmt.lib $(ASIRLIB) $(PARILIB) $(GCLIB) ws2_32.lib user32.lib |
|
|
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 |
|
|
VPATH=$(SRCDIR)\plot;$(SRCDIR)\io |
VPATH=$(SRCDIR)\plot;$(SRCDIR)\io |
|
|
|
|
-@del engine.exe |
-@del engine.exe |
|
|
engine.exe: $(OBJS) |
engine.exe: $(OBJS) |
$(LD) $(LDFLAGS) /out:$@ $(OBJS) |
$(LD) $(LDFLAGS) -out:$@ $** |
|
|
calc.obj: {$(VPATH)}calc.c |
calc.obj: {$(VPATH)}calc.c |
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |