Best method to ask input or check existence of a variable

2013-09-15 Thread zamek42
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 PR

different source dirs and one build dir

2016-07-11 Thread zamek42
Hi All, I have a project which has more different source dirs but I want to use only one build directory. VPATH is not usable, because there are more files with the same name in different directories. Is there an example how can I setup it with make? -- thx Zoltan (Zamek) Zidarics programme

Re: different source dirs and one build dir

2016-07-11 Thread zamek42
Hi Paul, Thx for your response. On 07/11/2016 08:40 PM, Paul Smith wrote: On Mon, 2016-07-11 at 20:25 +0200, zamek42 wrote: I have a project which has more different source dirs but I want to use only one build directory. VPATH is not usable, because there are more files with the same name in

Re: different source dirs and one build dir [SOLVED]

2016-07-12 Thread zamek42
Hi All, On 07/11/2016 09:38 PM, Paul Smith wrote: On Mon, 2016-07-11 at 21:24 +0200, zamek42 wrote: There are two files with the same name: _reset_hardware.c and _initialize_hardwer.c. I need these files from only one directory. That is the reason why I cannot use vpath. Well, vpath searches