Logtalk reference manual
Built-in predicate: logtalk_make/1
Contents > Reference Manual > Built-in Predicates > logtalk_make/1

## logtalk_make/1

#### Description

    logtalk_make(Target)

Allows reloading all Logtalk source files that have been modified since the time they are last loaded when called with the argument `all` and deleting all intermediate files generated by the compilation of Logtalk source files when called with the argument `clean`.

There are some caveats, however, when using this built-in predicate with the `all` target. First, only source files loaded using the `logtalk_load/1-2` predicates are reloaded. Second, when a source file have not been modified since last loaded, it will not be reloaded if the same explicit compiler options are being used and there are no changes to the `debug/1` and `optimize/1` options (i.e. there is no change to the file compilation mode). No check is made for other implicit compiler options that may have changed between loads.

#### Template and modes

    logtalk_make(+atom)

#### Errors

`(none)`

#### Examples

    | ?- logtalk_make(clean).