Loading... (original) (raw)

Currently, SetupNativeCompilation takes as "main" argument either
LIBRARY := name,PROGRAM:=name, PROGRAM := name,PROGRAM:=name or STATIC_LIBRARY := $name.

This confounds two distinct concepts: the name of the generated binary, and the type of binary to create. Instead, we should have a NAME argument and a TYPE argument.