3 ms·
Isn't the solution to that problem simply to use stamp files You declare foo-stamp as a dependency of both foo.c and foo.h. foo-stamp itself is dependent on t
by Ambroisie 7y ago
Isn't the solution to that problem simply to use stamp files
You declare foo-stamp as a dependency of both foo.c and foo.h.
foo-stamp itself is dependent on the file used to generate those foo.* files.
The recipe for foo-stamp invokes the code generator which updates the files, then you `touch foo-stamp`at the end of the recipe.
- pstuart 7y ago> Isn't the solution to that problem simply to use stamp files TIL a new make trick. Thanks!