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

Better Makefile #253

Open
dliptai opened this issue Mar 3, 2022 · 0 comments
Open

Better Makefile #253

dliptai opened this issue Mar 3, 2022 · 0 comments

Comments

@dliptai
Copy link
Collaborator

dliptai commented Mar 3, 2022

  1. Currently the list of dependencies for every build target must be kept up to date, and in the correct order, by hand. This is not only tedious, but quite error prone. It would be better to automate the dependency resolution, perhaps using the compiler or preprocessor to generate the information. (This may have already been attempted with the depends target in the Makefile, which is commented out ??)

  2. The Makefile could also be tidied up by taking advantage of the include statement and moving certain sections into separate files. This is already done for gfortran and ifort defaults. Suggested sections to be moved into their own files: SYSTEMs, SETUPs, and qscripts. This would improve readability and make it easier to navigate the Makefile.

dliptai added a commit to ADACS-Australia/phantom that referenced this issue Mar 10, 2022
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

No branches or pull requests

1 participant