To make comfy better compatible with automatic builds via make, the possibility, to build only headers, or only c sources should be added.
[x] --headers creates only header files
[x] --c-sources creates only c source files
Furthermore, to make target dependencies work, comfy should be able, to output a list of headers, that need to be created, in order to compile a single c source file.
[x] --tell-depends or simply -dshows the header dependencies of the source file(s), which should be created from a .comfy file, before the source file in question can be compiled via C.
This means, that the source file needs to be parsed for includes. Any include #include "somefile.h" where a somefile.comfy file exists in the source directory, should appear in said list.
To make comfy better compatible with automatic builds via make, the possibility, to build only headers, or only c sources should be added.
--headers
creates only header files--c-sources
creates only c source filesFurthermore, to make target dependencies work, comfy should be able, to output a list of headers, that need to be created, in order to compile a single c source file.
--tell-depends
or simply-d
shows the header dependencies of the source file(s), which should be created from a.comfy
file, before the source file in question can be compiled via C.This means, that the source file needs to be parsed for includes. Any include
#include "somefile.h"
where asomefile.comfy
file exists in the source directory, should appear in said list.