Annotation of OpenXM_contrib2/windows/engine2000/Makefile.vc, Revision 1.6
1.6 ! ohara 1: ## $OpenXM: OpenXM_contrib2/windows/engine2000/Makefile.vc,v 1.5 2009/03/11 09:52:06 ohara Exp $
1.1 ohara 2: ## Makefile for Visual Studio 2008
3:
4: SRCDIR=..\..\asir2000
5: ASIRLIB=..\asir2000lib\asir2000lib.lib
6:
1.4 ohara 7: !if "$(WITH_PARI)" == "no"
1.2 ohara 8:
1.1 ohara 9: PARIDEF=
10: PARIINC=
11: PARILIB=
1.2 ohara 12:
13: !else
14:
15: PARIDEF= -D PARI
16: PARIDIR=..\pari20
1.4 ohara 17: PARIINC= -I $(PARIDIR)\win32
1.2 ohara 18: PARILIB=$(PARIDIR)\libpari.lib
19:
20: !endif
21:
1.1 ohara 22: GCDIR= ..\gc-7.1
23: GCLIB= $(GCDIR)\gc.lib
24:
25: INCLUDES= -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot $(PARIINC)
1.3 ohara 26: DEFS= -D NDEBUG -D WIN32 -D _WINDOWS -D _MBCS -D VISUAL $(PARIDEF)
1.1 ohara 27: CFLAGS= -nologo -MT -W3 -EHsc -Ox $(DEFS) $(INCLUDES)
28: CPPFLAGS = $(CFLAGS)
29:
30: RC=rc
31: RFLAGS=-l 0x411 -d NDEBUG
32:
33: LD=link
1.6 ! ohara 34: LDFLAGS=/nologo /stack:0x10000000 /subsystem:windows /incremental:no /nodefaultlib:libcmt.lib $(ASIRLIB) $(PARILIB) $(GCLIB) ws2_32.lib user32.lib
1.1 ohara 35:
36: OBJS= engine2000.res ChildView.obj MainFrm.obj StdAfx.obj calc.obj \
37: if.obj io.obj ox_asir.obj ox_launch.obj ox_plot.obj ox_plot_win.obj \
1.4 ohara 38: plot.obj plotg.obj plotp.obj
1.1 ohara 39:
40: VPATH=$(SRCDIR)\plot;$(SRCDIR)\io
41:
42: all: engine.exe
43:
44: clean:
45: -@del *.obj
46: -@del engine2000.res
47:
48: distclean: clean
49: -@del engine.exe
50:
51: engine.exe: $(OBJS)
52: $(LD) $(LDFLAGS) /out:$@ $(OBJS)
53:
54: calc.obj: {$(VPATH)}calc.c
55: $(CC) -c $(CFLAGS) $**
56:
57: if.obj: {$(VPATH)}if.c
58: $(CC) -c $(CFLAGS) $**
59:
60: ox_asir.obj: {$(VPATH)}ox_asir.c
61: $(CC) -c $(CFLAGS) $**
62:
63: ox_launch.obj: {$(VPATH)}ox_launch.c
64: $(CC) -c $(CFLAGS) $**
65:
66: plotg.obj: {$(VPATH)}plotg.c
67: $(CC) -c $(CFLAGS) $**
68:
69: plotp.obj: {$(VPATH)}plotp.c
70: $(CC) -c $(CFLAGS) $**
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>