4 messages in com.perforce.jammingUsing 'CCFLAGS on prog.o = MYCCFLAGS'
FromSent OnAttachments
Alai...@aquilamsl.com15 Dec 1997 07:50 
Laur...@perforce.com15 Dec 1997 11:00 
E M ...@hotmail.com15 Dec 1997 12:24 
Laur...@perforce.com15 Dec 1997 12:53 
Subject:Using 'CCFLAGS on prog.o = MYCCFLAGS'
From:Laur...@perforce.com (Laur@perforce.com)
Date:12/15/1997 11:00:27 AM
List:com.perforce.jamming

Alain Achkar writes:

SubDir TOP util try ;

Main try : try.c ;

CCFLAGS on try$(SUFOBJ) = -DALAIN ;

It's the grist problem. (I was hoping the new documentation would clarify this, but no, huh?)

Here are alternatives that will work:

SubDir TOP util try ; Main try : try.c ; CCFLAGS on <util!try>try$(SUFOBJ) = -DALAIN ; or: SubDir TOP util try ; SOURCE_GRIST = ; Main try : try.c ; CCFLAGS on try$(SUFOBJ) = -DALAIN ; or: SubDir TOP util try ; { local CCFLAGS = -DALAIN ; Main try : try.c ; }

---Laura

------------------------------------------------------------------------- Laura Wingerd Perforce Software, Inc. lau@perforce.com 510-864-7400

-------------------------------------------------------------------------