Predefined macros

The predefined macros section of the makefile contains other macros than the IBM® Rational® Rhapsody®-generated macros specified in the generated macros section.

For example, part of the default predefined macros section of a C++ makefile for the Microsoft environment is as follows:

########### Predefined macros ###########
#########################################

$(OBJS) : $(INST_LIBS) $(OXF_LIBS)
LIB_POSTFIX=
!IF "$(BuildSet)"=="Release"
LIB_POSTFIX=R
!ENDIF
!IF "$(TARGET_TYPE)" == "Executable"
LinkDebug=$(LinkDebug) /DEBUG
LinkRelease=$(LinkRelease) /OPT:NOREF
!ELSEIF "$(TARGET_TYPE)" == "Library"
LinkDebug=$(LinkDebug) /DEBUGTYPE:CV
!ENDIF
.
.
.

Feedback