[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Makefile help



On Fri, 23 Jul 2021 16:10:10 +0200
Grzesiek <pld@sojka.co> wrote:

> Is it possible to do it using make in a fully automatic way? What I
> mean is that make should find all sub-directories and files in
> source_dir by itself. Note that the sub-directories level may be
> grater than 1, no symlinks allowed.

It probably is, but I would not use make. A script which used find
would do as well without make's idiosyncrasies. Pretty much any
scripting language should do the job, so use one you are familiar with.


> 
> I do not have experience in writing Makefiles. Appropriate Makefile 
> examples appreciated.

Another reason for you to avoid make.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: