On 24.08.2021 12:50, Anthony PERARD wrote: > After folowing patches, the recipe doesn't work anymore. > - build: build everything from the root dir, use obj=$subdir > - build: introduce if_changed_deps
That was some 20 patches ago - shouldn't all make goals continue to work at every step? > First patch mean that $(names) already have $(path), and the second > one, the .*.d files are replaced by .*.cmd files which are much > simpler to parse here. > > Also replace the makefile programming by a much simpler shell command. > > This doesn't check anymore if the source file exist, but that can be > fixed by running `make clean`, and probably doesn't impact the > calculation. `cloc` just complain that some files don't exist. Not sure whether that's acceptable - Stefano, iirc it was you who introduced this goal. Jan