I have taken the intvector subexamples and updated their execution from run.sh files to makefiles.
After discussing possible formatting of the makefiles and perhaps its contents, this PR's changes will be expanded to update all examples to a makefile execution.
@umarcor will be tackling the appropriate CI changes.
As of the moment, run.sh files are renamed to old_run.sh files so that the output of the makefiles can be compared.
The first rule in each makefile is the default rule executed, afresh will clean and then run. This is triggered by make
All makefile rules can be called by specifying the target (argument left of the rule's ':') after make: eg make run
make echoes each command before executing it, unless the line starts with @... I have left all lines, excepting echoes, to be echoed as I like the transparency that echoing the commands provides.
I have taken the intvector subexamples and updated their execution from run.sh files to makefiles.
After discussing possible formatting of the makefiles and perhaps its contents, this PR's changes will be expanded to update all examples to a makefile execution. @umarcor will be tackling the appropriate CI changes.
As of the moment, run.sh files are renamed to old_run.sh files so that the output of the makefiles can be compared.
The first rule in each makefile is the default rule executed,
afresh
will clean and then run. This is triggered bymake
All makefile rules can be called by specifying the target (argument left of the rule's ':') after
make
: egmake run
make echoes each command before executing it, unless the line starts with
@
... I have left all lines, excepting echoes, to be echoed as I like the transparency that echoing the commands provides.