Hi All,

I would like to make a target to create a new project.
I cannot solve to ask the name of the project in a recipe?

Another possible method, to set the name with a variable, but I cannot check the existence of
the variable because it will be part of all target:

create_project:
ifndef PROJECT_NAME
$(error No project name, please call make with PROJECT_NAME=<projectname>)
endif

all of other target prints this error.

--
thx in advance
Zoltan (Zamek) Zidarics
programmer
email:[email protected]


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to