On 2/4/24 15:11, Alan Coopersmith wrote:
makedepend parses C sources to make dependency lists for Makefiles.

I should also have noted that makedepend 1.0.9 does *not* include support
for new C23 preprocessor directives such as #elifdef, #elifndef, #embed,
and __has_include.   If you use makedepend with a code base that is going
to adopt these features, your choices are:

1) Switch from make to a build system such as meson that does not
   need these directives for dependency tracking.

2) Switch from makedepend to a solution based on your compiler, since
   it will already match the C standard version that you use.  For
   instance, gcc's -M family of flags.

3) Contribute the missing support to makedepend via a merge request at
   https://gitlab.freedesktop.org/xorg/util/makedepend/-/merge_requests

--
        -Alan Coopersmith-                 alan.coopersm...@oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/solaris

Reply via email to