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