Makefile upgrade
This commit is contained in:
parent
1ec2eed82f
commit
ad49e531df
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -1,3 +1,5 @@
|
|||
src?=1
|
||||
dest?=2
|
||||
|
||||
build:
|
||||
@echo "\n==== COMPILING ====\n"
|
||||
|
|
@ -11,10 +13,13 @@ edit:
|
|||
|
||||
demo: build
|
||||
@echo "\n==== EXECUTING ====\n"
|
||||
./ftest.native graphs/graph1 1 2 outfile
|
||||
./ftest.native graphs/graph1 $(src) $(dest) outfile
|
||||
@echo "\n==== RESULT ==== (content of outfile) \n"
|
||||
@cat outfile
|
||||
|
||||
clean:
|
||||
-rm -rf _build/
|
||||
-rm ftest.native
|
||||
|
||||
svg:
|
||||
dot -Tsvg outfile > graph.svg
|
||||
|
|
|
|||
Loading…
Reference in a new issue