makefile
来自「1995年ACM contest FINAL试题和源码」· 代码 · 共 31 行
TXT
31 行
TARGETS = SpreadSheetManuel SpreadSheetRolf SpreadSheetCreate.c: gcc -ansi -pedantic -Wall -o $@ $<samples: $(TARGETS)testset: spreadsheet.solspreadsheet.sol: SpreadSheetManuel SpreadSheetCreate echo "3" > spreadsheet.in cat spreadsheet.in1 >> spreadsheet.in ./SpreadSheetCreate 240 100 >> spreadsheet.in ./SpreadSheetCreate 900 20 >> spreadsheet.in ./SpreadSheetManuel mv spreadsheet.out spreadsheet.soltest: spreadsheet.sol SpreadSheetRolf ./SpreadSheetManuel diff -w spreadsheet.out spreadsheet.sol ./SpreadSheetRolf diff -w spreadsheet.out spreadsheet.sol rm spreadsheet.outclean: rm -f ${TARGETS} rm -f *% rm -f spreadsheet.out spreadsheet.sol spreadsheet.in
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?