Logtalk reference manual
Built-in predicate: logtalk_make/1

logtalk_make/1

Description

logtalk_make(Target)

Allows reloading all Logtalk source files that have been modified since last loaded when called with the target all, deleting all intermediate files generated by the compilation of Logtalk source files when called with the target clean, listing of missing entities and predicates when called with the target missing, and listing of circular dependencies between pairs or trios of objects when called with the target circular.

When using the all target, only source files loaded using the logtalk_load/1-2 predicates are reloaded. Non-modified files will also be reloaded when there is a change to the compilation mode (i.e. when the files were loaded without explicit debug/1 or optimize/1 flags and the default values of these flags changed after loading; no check is made, however, for other implicit compiler flags that may have changed since loading).

When using the missing or circular targets, be sure to compile your source files with the source_date flag turned on for complete and detailed reports.

When using the circular target, be prepared for a lengthy computation time for applications with a large combined number of objects and message calls.

Depending on the back-end Prolog compiler, the shortcuts {*}, {!}, {?}, and {@} may be used in alternative to, respectively, logtalk_make(all), logtalk_make(clean), logtalk_make(missing), and logtalk_make(circular) (check the adapter files for their availability).

Template and modes

logtalk_make(+atom)

Errors

(none)

Examples

| ?- logtalk_make(clean).

See also

logtalk_compile/1, logtalk_compile/2, logtalk_load/1, logtalk_load/2, logtalk_make/0