Also, if I use $(srcdir) to mark the top level path of the sources, it
won't crash. But not sure if this is the best way to have it:

test_SOURCES = config.h \
               $(srcdir)/src/module//test.c

afaik, this is correct. the issue has nothing to do with multiple slashes, but your Makefile is not properly written to handle srcdir != builddir.

But then why does it work when compiling from buildir != srcdir and single slashes are used?
-Aleksander


Reply via email to