Add common commands to Makefile

This commit is contained in:
Arthur Bit-Monnot 2020-11-02 12:53:23 +01:00
parent 2c6c34c1c7
commit 742de4b428

View file

@ -1,10 +1,19 @@
main: build:
ocamlbuild ftest.native ocamlbuild ftest.native
format: format:
ocp-indent --inplace src/* 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: clean:
rm -rf _build/ rm -rf _build/
rm ftest.native rm ftest.native