When using SCons, it is unnecessary to add special
commands or target names to clean up after a build.
Instead, you simply use the
-c or --clean
option when you invoke SCons,
and SCons removes the appropriate built files.
So if we build our example above
and then invoke scons -c
afterwards, the output on POSIX looks like: