Use the TARGETPATH macro to specify the destination directory for all build products. You must have this macro in your sources file.
The value of TARGETPATH determines the first part of the name of the directory where object files are placed.
In almost all cases you should use the following value:
TARGETPATH=obj
See Specifying the Location of Created Files for details on how the directory paths are constructed.
The sum of the lengths of BUILD_ALT_DIR and TARGETPATH must not exceed MAX_PATH (about 256 characters).