diff options
Diffstat (limited to 'libtcc.h')
| -rw-r--r-- | libtcc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -110,6 +110,13 @@ LIBTCCAPI void tcc_set_lib_path(TCCState *s, const char *path); /* Get default target filename for this compilation */ LIBTCCAPI const char *tcc_default_target(TCCState *s); +/* Generate make dependencies for target and store them into file + * + * !target - use default target name + * !filename - use (target.o -> target.d) + */ +LIBTCCAPI void tcc_gen_makedeps(TCCState *s, const char *target, const char *filename); + #ifdef __cplusplus } #endif |
