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