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: optimise the use of the MODEL variable #16

Open
tduretz opened this issue Jan 25, 2022 · 0 comments
Open

Makefile: optimise the use of the MODEL variable #16

tduretz opened this issue Jan 25, 2022 · 0 comments
Assignees

Comments

@tduretz
Copy link
Owner

tduretz commented Jan 25, 2022

e.g. we have the model ShearTemplate to compile.
we would like this command to work make all MODEL=ShearTemplate.txt
so far only make all MODEL=ShearTemplate would work (file extension need to be removed).
During the execution of the script (make), check if $(MODEL) has '.txt' at the end. If yes, remove it.

@tduretz tduretz assigned tduretz and kulakovri and unassigned kulakovri Jan 25, 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

2 participants