aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc.h')
-rw-r--r--libtcc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libtcc.h b/libtcc.h
index 339dec1..bf328d3 100644
--- a/libtcc.h
+++ b/libtcc.h
@@ -103,6 +103,20 @@ LIBTCCAPI void *tcc_get_symbol(TCCState *s, const char *name);
/* set CONFIG_TCCDIR at runtime */
LIBTCCAPI void tcc_set_lib_path(TCCState *s, const char *path);
+
+/*****************************/
+/* Miscellaneous */
+
+/* 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