All makefiles have the targets xview and motif, which build versions of a library or binary appropriate to desired GUI toolkit. Remove object files, executables and libraries for the current module with the cleanol and cleanmotif targets.
It is possible to maintain simultaneous Motif and Open Look versions of an application, since object files are kept in separate directories (objects_ol and objects_motif).
Debugging information is included by default; you may add DEBUG= as an argument to make to compile without it, or use the UNIX strip command to remove debugging information (faster and more thorough).