Add common commands to Makefile
This commit is contained in:
parent
2c6c34c1c7
commit
742de4b428
1 changed files with 10 additions and 1 deletions
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
|
||||
|
|
Loading…
Reference in a new issue