📄 makefile
字号:
default: make allDIFF = diffRM = rm -rfD = ./truss1test: -@${D}dsdp5 truss1.dat-s -dlogsummary 0 -print 1 > truss1.tmp 2>&1; \ if ( ${DIFF} truss1.tmp output.truss1 ) then echo " No error: truss1 "; \ else echo " Possible Error (truss1): Differences between this output and reference output:"; fi; \ ${RM} truss1.tmpmcp100test: -@${D}dsdp5 mcp100.dat-s -dlogsummary 0 -print 1 > mcp100.tmp 2>&1; \ if ( ${DIFF} mcp100.tmp output.mcp100 ) then echo " No error: mcp100 "; \ else echo " Possible Error (mcp100): Differences between this output and reference output:"; fi; \ ${RM} mcp100.tmpmaxcuttest: -@${D}maxcut graph1 > maxcut.tmp 2>&1; \ if ( ${DIFF} maxcut.tmp output.maxcut ) then echo " No error: Maxcut "; \ else echo " Possible Error (maxcut): Differences between this output and reference output:"; fi; \ ${RM} maxcut.tmpthetatest: -@${D}theta graph1 > theta.tmp 2>&1; \ if ( ${DIFF} theta.tmp output.theta ) then echo " No Error: Theta "; \ else echo " Possible Error (theta): Differences between this output and reference output:"; fi; \ ${RM} theta.tmpoutput: ${RM} output.truss1 output.mcp100 output.maxcut output.theta; ${D}dsdp5 truss1.dat-s -dlogsummary 0 -print 1 > output.truss1; ${D}dsdp5 mcp100.dat-s -dlogsummary 0 -print 1 > output.mcp100; ${D}maxcut graph1 > output.maxcut; ${D}theta graph1 > output.theta;test: -make truss1test -make mcp100test -make maxcuttest -make thetatestall: make testclean: ${RM} theta maxcut color stable dsdp5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -