Some examples of use for Speedy Make

Speedy Make is mainly intended to build software, but is not limited to this use. The engine that parses the XML document used for makefile is able to performs various tasks.

A backup program

The purpose of a backup program is to copy a defined list of files into a defined location. Only newer versions of the files have to be copied.
The list of files to copy is stored into a tag:

...some filenames with paths...

The destination is another tag:

... a directory ...

The copy command is stored into another tag, and the top action also:

<copy action="run">
  cp *files $target


Under Windows the standard command is:

copy /B /Y *files $target

but the copy command may be replaced by a more powerful freeware tool. See at: Unix Tools, for example.

More examples

SM may be used with any tool that requires a list of files in input:

Since the makefile is an XML document, makefiles may be generated by other tools that allow to select a list of files, put the list into a tag, and apply predefined rules on the list. The smake parser is then called with the document as parameter.