Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile.in: have recursive make happen with dry run #268

Merged
merged 1 commit into from
May 22, 2019

Conversation

mikebentley15
Copy link
Collaborator

Fixes #267

Description:
Simply allowed the recursive Makefile to recurse even when called with --dry-run. Done by adding a "+" character before the recursive call.

Also moved the creation of the $(OBJ_DIR) to before the #if so that we do not get errors in the recursive dry run call to make.

Documentation:
None needed. This is more for debugging and testing than actual usage.

Tests:
None. Just that existing tests continue to work.

When calling echo 'You can run the Makefile directly, but it is recommended to use'
echo
echo '  flit make'
echo
echo 'so that you can have functionality such as adding the results to a'
echo 'database.'
echo
echo 'The following targets are available:'
echo
echo '  help        Show this help and exit (default target)'
echo '  dev         Only run the devel compilation to test things out'
echo '  groundtruth Compile the ground-truth version'
echo '  gt          Same as groundtruth'
echo '  runbuild    Build all executables needed for the run target'
echo '  run         Run all combinations of compilation, results in results/'
echo '  clean       Clean intermediate files'
echo '  veryclean   Runs clean + removes targets and results'
echo '  distclean   Same as veryclean'
echo, perform the recursive make anyways.  This
can be helpful for debugging or for testing
@IanBriggs IanBriggs merged commit dadecf5 into devel May 22, 2019
@IanBriggs IanBriggs deleted the issue267-dry-run-recursive-makefile branch May 22, 2019 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Makefile recursion on dry run
2 participants