version 1.1, 2009/03/09 09:33:30 |
version 1.7, 2009/03/18 05:19:43 |
|
|
## $OpenXM$ |
## $OpenXM: OpenXM_contrib2/windows/engine2000/Makefile.vc6,v 1.6 2009/03/18 05:14:22 ohara Exp $ |
## Makefile for Visual C++ 6.0 |
## Makefile for Visual C++ 6.0 |
|
|
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 |
INCLUDES= -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot $(PARIINC) |
|
DEFS= -D NDEBUG -D _MBCS -D VISUAL $(PARIDEF) |
INCLUDES = -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot $(PARIINC) |
CFLAGS= -nologo -MT -W3 -EHsc -Ox $(DEFS) $(INCLUDES) |
DEFS = -D NDEBUG -D WIN32 -D _WINDOWS -D _MBCS -D VISUAL -D VISUAL_LIB $(PARIDEF) |
|
CFLAGS= -nologo -MT -W3 -GX -Ox $(DEFS) $(INCLUDES) |
|
CPPFLAGS = $(CFLAGS) |
CPPFLAGS = $(CFLAGS) |
|
|
RC=rc |
RC=rc |
RFLAGS=-l 0x411 -d NDEBUG |
RFLAGS=-l 0x411 -d NDEBUG |
|
|
LD=link |
LD=link |
LDFLAGS=/nologo /stack:0x10000000 /subsystem:windows /incremental:no /machine:I386 $(ASIRLIB) $(PARILIB) ws2_32.lib user32.lib |
LDFLAGS=-nologo -stack:0x10000000 -subsystem:windows -incremental:no $(ASIRLIB) $(PARILIB) 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) $** |