Programming Tips - How can I do target-specific compile flags?

Date: 2015jun10 Product: jam Q. How can I do target-specific compile flags? A. For C++:
C++FLAGS on mytarget2$(SUFOBJ) = -g -I. -I../shared -I../../someplace2 ;
For C:
CCFLAGS on mytarget3$(SUFOBJ) = -g -I. -I../shared -I../../someplace3 ;
Don't forget the <space> and <semi-colon> after (as is needed for all Jam directives).