dragons-and-bytecode / comfy

Comfy - the comfortable C dialect
Mozilla Public License 2.0
1 stars 0 forks source link

makefile compatibility #7

Closed RavenNevermore closed 9 years ago

RavenNevermore commented 9 years ago

To make comfy better compatible with automatic builds via make, the possibility, to build only headers, or only c sources should be added.

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.

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.