cx_i8.mak

来自「VC环境下的实用的复数库函数,编译后可作为库函数使用.」· MAK 代码 · 共 46 行

MAK
46
字号

conlibs = libm.lib libc.lib

DIFF = sdiff
PRE =

.SUFFIXES: .cpp

.cpp.obj:
		icl -c -GX -GR -Ge -GS -Qpc80 -Qprec -Qprec_div -nologo -Qlong_double $*.cpp

everything:    	cxtest.exe mandel.exe 

cxtest_obj = cxtest.obj myexcept.obj cx.obj cx_polar.obj cxtest1.obj cxtest2.obj

cxtest.exe:    	$(cxtest_obj)
		link -Out:$@ $(conlibs) $(cxtest_obj)

mandel_obj = mandel.obj myexcept.obj cx.obj cx_polar.obj

mandel.exe:    	$(mandel_obj)
		link -Out:$@ $(conlibs) $(mandel_obj)

cxtest.obj:    	cxtest.cpp include.h array1.h cx.h cxtest.h myexcept.h

myexcept.obj:  	myexcept.cpp include.h myexcept.h

cx.obj:        	cx.cpp cx.h include.h myexcept.h

cx_polar.obj:  	cx_polar.cpp include.h myexcept.h cx.h

cxtest1.obj:   	cxtest1.cpp include.h myexcept.h array1.h cx.h cxtest.h

cxtest2.obj:   	cxtest2.cpp include.h myexcept.h array1.h cx.h cxtest.h

mandel.obj:    	mandel.cpp include.h array1.h cx.h myexcept.h

cxtest.txx:    	cxtest.exe
		$(PRE)cxtest > cxtest.txx
		$(DIFF) cxtest.txt cxtest.txx

mandel.txx:    	mandel.exe
		$(PRE)mandel > mandel.txx
		$(DIFF) mandel.txt mandel.txx

⌨️ 快捷键说明

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