Hello all Perhaps the existing wildcard or realpath functions (see https://www.gnu.org/software/make/manual/html_node/File-Name-Functions.html ...) are already doing this (but I am not sure).
I am coding open source software which generates C (or C++) code, and I want them to be compiled by g++ (gcc.gnu.org version 15 or later) on Linux. A generated/*.c file may need (when compiled to a dlopen-able plugin) some extra compilation flags (or libraries). As an example assume generated/foo.c is generated by some open source tool (perhaps carburetta.com). I could of course have a convention like generated/foo.cflags might be generated (or not) to contain compilation (and linking) flags for generated/foo.c (compiled to plugin generated/foo.so to be dlopen-ed). Examples of open source code needing this include https://github.com/RefPerSys/RefPerSys and https://github.com/bstarynk/fltruk Thanks. NB: sorry for my bad English, I am French -- Basile STARYNKEVITCH <[email protected]> 8 rue de la Faïencerie http://starynkevitch.net/Basile/ 92340 Bourg-la-Reine https://github.com/bstarynk France https://github.com/RefPerSys/RefPerSys https://orcid.org/0000-0003-0908-5250
