makefile

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

TXT
95
字号
## makefile QMG 2.0 for 
## 386 or higher Intel-compatible PC running 
## Microsoft Windows NT 4.0
## Microsoft Visual C++ 5.0
## Matlab 5.2 scripting
##
## compile with "nmake" in the NT shell.
##
##
## Caution: some of the lines in this file end with "\"
## and others end with "\ ".  The presence or absence
## of the space is very important!  Furthermore, emacs
## makefile-mode will delete the space after slash without
## telling you when you save this file!  If you are editing
## this file with emacs, execute M-x fundamental-mode before
## saving it!
# This file should not need customization.  Instead, customize
# the file 'custom' in this directory.


!include custom

SLASH = \ 
DEFINES = /DDEBUGGING /DUSE_SSTREAM /DEXCEPTIONS_ENABLED
OB = obj
CPP = cpp
CI = c
MEX = dll
MEXDIR = ..\..\mex\ 


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


MGINCLUDE = /I$(MESHGENSRC)
MODELINCLUDE = /I$(MODELSRC)
CLAPACKINCLUDE = /I$(FORTRAN_H)
WRAPINCLUDE =  /I$(WRAPPERSRC) /I$(MATROOT)\extern\include
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 $(CLAPACK2SRC)clapack2_defs
!include $(BLAS2SRC)blas2_defs
!include $(LIBF77SRC)libf77_defs


MSROOTBIN = $(MSROOT)\bin\ 
MSINCLUDE = $(MSROOT)\include

CC = "$(MSROOTBIN)cl"
CCI = "$(MSROOTBIN)cl"



CCFLAGS = -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -O2 -GX $(CSINCLUDE) $(DEFINES) /I. $(WRAPINCLUDE)
CCIFLAGS = $(CCFLAGS) 

CCWRAPFLAGS = $(CCFLAGS) $(WRAPINCLUDE)


OTHERMEXOBMINI = qfrontend.obj qerr.obj $(DATAFORMATOB) $(COMMONOBMINI)
OTHERMEXOB = qfrontend.obj qerr.obj $(DATAFORMATOB) $(COMMONOB) $(CLAPACK2OB) \
	 $(BLAS2OB) $(LIBF77OB)

MEXLINK = $(MATROOT)\bin\mex
MOVE = move
REMOVE = del


qmg:	$(MODELEXE) $(MESHGENEXE) 
	del qmg
	echo "" > qmg


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



⌨️ 快捷键说明

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