You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the following sed line would be added, then the PROJ := my_project would automatically be set to what ever name was choosen for saving.
e.g.:
make save PROJ
would not change the line at all.
e.g.:
make save PROJ=abc
would change the line to PROJ := abc
This is the sed line that would do the magic:
sed -i "0,/PROJ := /{s/PROJ := .*/PROJ := $(PROJ)/}" ./user_projects/$(PROJ)/Makefile
I added this line to the Makefiles of my PhysiCell user_projects, and it makes dealing with the projects much easier.
The text was updated successfully, but these errors were encountered:
elmbeech
changed the title
Improvement: Makefile save command automatically adjust the PROJ := my_project
Improvement: Makefile save command automatically adjusts PROJ := my_project
Mar 29, 2024
In each
Makefiel
is the following commandif the following
sed
line would be added, then thePROJ := my_project
would automatically be set to what ever name was choosen for saving.e.g.:
would not change the line at all.
e.g.:
would change the line to
PROJ := abc
This is the
sed
line that would do the magic:I added this line to the Makefiles of my PhysiCell user_projects, and it makes dealing with the projects much easier.
The text was updated successfully, but these errors were encountered: