Add common commands to Makefile
这个提交包含在:
父节点
2c6c34c1c7
当前提交
742de4b428
共有 1 个文件被更改,包括 10 次插入 和 1 次删除
11
Makefile
11
Makefile
|
@ -1,10 +1,19 @@
|
|||
|
||||
main:
|
||||
build:
|
||||
ocamlbuild ftest.native
|
||||
|
||||
format:
|
||||
ocp-indent --inplace src/*
|
||||
|
||||
edit:
|
||||
code . -n
|
||||
|
||||
demo: build
|
||||
echo "\n==== EXECUTING ====\n"
|
||||
./ftest.native graphs/graph1 1 2 outfile
|
||||
echo "\n==== RESULT ==== (content of outfile) \n"
|
||||
cat outfile
|
||||
|
||||
clean:
|
||||
rm -rf _build/
|
||||
rm ftest.native
|
||||
|
|
正在加载…
在新工单中引用