Annotation of OpenXM_contrib2/windows/engine2000/Makefile.vc, Revision 1.4
1.4 ! ohara 1: ## $OpenXM: OpenXM_contrib2/windows/engine2000/Makefile.vc,v 1.3 2009/03/10 16:45:29 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.4 ! ohara 34: #LDFLAGS=/nologo /stack:0x10000000 /subsystem:windows /incremental:no /nodefaultlib:libcmt.lib $(ASIRLIB) $(PARILIB) $(GCLIB) ws2_32.lib user32.lib
! 35: LDFLAGS=/nologo /stack:0x10000000 /subsystem:windows /incremental:no $(ASIRLIB) $(PARILIB) $(GCLIB) ws2_32.lib user32.lib
1.1 ohara 36:
37: OBJS= engine2000.res ChildView.obj MainFrm.obj StdAfx.obj calc.obj \
38: if.obj io.obj ox_asir.obj ox_launch.obj ox_plot.obj ox_plot_win.obj \
1.4 ! ohara 39: plot.obj plotg.obj plotp.obj
1.1 ohara 40:
41: VPATH=$(SRCDIR)\plot;$(SRCDIR)\io
42:
43: all: engine.exe
44:
45: clean:
46: -@del *.obj
47: -@del engine2000.res
48:
49: distclean: clean
50: -@del engine.exe
51:
52: engine.exe: $(OBJS)
53: $(LD) $(LDFLAGS) /out:$@ $(OBJS)
54:
55: calc.obj: {$(VPATH)}calc.c
56: $(CC) -c $(CFLAGS) $**
57:
58: if.obj: {$(VPATH)}if.c
59: $(CC) -c $(CFLAGS) $**
60:
61: ox_asir.obj: {$(VPATH)}ox_asir.c
62: $(CC) -c $(CFLAGS) $**
63:
64: ox_launch.obj: {$(VPATH)}ox_launch.c
65: $(CC) -c $(CFLAGS) $**
66:
67: plotg.obj: {$(VPATH)}plotg.c
68: $(CC) -c $(CFLAGS) $**
69:
70: plotp.obj: {$(VPATH)}plotp.c
71: $(CC) -c $(CFLAGS) $**
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>