### Standard Makefile Targets

All of the makefile utilities startup scripts support a standard set of targets for controlling the compilation for the current compiler. The most common commands and useful targets that you may want to use when building examples and re-compiling any libraries are listed in the table below:

Dmake | Running dmake by itself in a directory will select the default target for the makefile, which is usually to compile and link all sample programs in that directory. Some makefiles only support building libraries so the default target may produce a library rather than an executable file.
dmake –u | The -u command line option forces a complete re-build of all files, so it is useful to re-build an entire directory from scratch.
dmake lib | This builds just the library for the directory.
dmake install | This builds just the library for the directory and then installs the library into the appropriate c:\scitech\LIB\xxx\xx directory. You should only do this once you are sure that everything is working correctly! The new library will overwrite the old library.
dmake clean | This cleans out all object files, libraries and pre-compiled header files etc from the directory, but leaves all executable files and shared libraries.
dmake cleanexe | This cleans out all non-source files including all executeable files and shared libraries.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com