makefile

来自「算断裂的」· 代码 · 共 88 行

TXT
88
字号
#makefile for QMG 2.0 for
#
# Intel 386 or higher
# Windows NT 4.0
# VC++ 5.0
# Tcl 8.0 scripting
#
# Compile with nmake
# This file should not need customization.  Instead, customize
# the file 'custom' in this directory.


SLASH = \ 
OB = obj
CPP = cpp
CI = c

DEFINES = /DDEBUGGING  /DEXCEPTIONS_ENABLED /DUSE_SSTREAM

!include custom

!include ..\generic\dir_defs
WRAPPERSRC = $(TCL_SRC)
DATAFORMATSRC = $(TCL_SRC)

MGINCLUDE = /I$(MESHGENSRC)
MODELINCLUDE = /I$(MODELSRC)
CLAPACKINCLUDE = /I$(FORTRAN_H)
XDRINCLUDE = /I$(XDRSRC)
WRAPINCLUDE = $(TCLINCLUDE) /I$(WRAPPERSRC)
CSINCLUDE = /I$(COMMONSRC)

!include ..\generic\header1_defs
!include $(DATAFORMATSRC)\dataformat_defs
!include $(WRAPPERSRC)wrapper_defs
!include ..\generic\header2_defs
!include $(COMMONSRC)commonob_defs
!include $(MESHGENSRC)meshgen_defs
!include $(MODELSRC)model_defs
!include $(XDRSRC)xdr_defs
!include $(CLAPACK2SRC)clapack2_defs
!include $(BLAS2SRC)blas2_defs
!include $(LIBF77SRC)libf77_defs

NODEBUG = 1

MSROOTBIN = $(MSROOT)\bin\ 
CC = "$(MSROOTBIN)cl"
CCI = "$(MSROOTBIN)cl"
LINK = "$(MSROOTBIN)link"
RC = "$(MSROOTBIN)rc"
#LIB = $(MSROOT)\lib
MKLIB = $(MSROOTBIN)lib
!include $(MSROOT)\include\win32.mak


CCIFLAGS = /Zi /Gm /MLd  $(cdebug) $(cflags) $(cvars) $(CSINCLUDE) /I"$(MSROOT)\include"  /I$(DATAFORMATSRC) $(DEFINES)
CCFLAGS = $(CCIFLAGS) /GX 
WRAPINCLUDE = /I$(TCL_SRC)  $(TCLINCLUDE)

QMG_ABS_ROOT0 = $(MAKEDIR)\..\..
QMG_ABS_ROOT = $(QMG_ABS_ROOT0:\=/)

qmg.exe: $(COMMONOB) $(MODELOB) $(MESHGENOB)  $(DATAFORMATOB) \
	$(WRAPPEROB) \
	$(CLAPACK2OB) $(BLAS2OB) $(LIBF77OB) $(XDRSTDLIBOB) $(XDROB) $(DOSOB) \
	$(OBDIR)qmg.res 
	$(LINK) $(conlflags) \
	 $(COMMONOB) $(MODELOB) $(MESHGENOB) \
	$(DATAFORMATOB) $(WRAPPEROB) \
	$(CLAPACK2OB) $(BLAS2OB) $(LIBF77OB) $(XDRSTDLIBOB) $(XDROB) $(DOSOB) \
	$(OBDIR)qmg.res $(TCLLIBDIR)\tcl$(TCLTKVERSION).lib \
	$(guilibs) libcp.lib /out:qmg.exe

$(OBDIR)qmg.res:	qmg.rc
		"$(MSROOTBIN)..\..\SharedIDE\bin\rc" /fo qmg.res /r qmg.rc 


!include $(COMMONSRC)commonob_targets
!include $(MESHGENSRC)meshgen_targets
!include $(MODELSRC)model_targets
!include $(DATAFORMATSRC)dataformat_targets
!include $(WRAPPERSRC)wrapper_targets
!include $(XDRSRC)xdr_targets
!include $(CLAPACK2SRC)clapack2_targets
!include $(BLAS2SRC)blas2_targets
!include $(LIBF77SRC)libf77_targets

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?