🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #293

Re: MacApp makefiles and Other

#293
From: Richard Gillam,GEIS
Date: Thu, 21 Jan 1993 15:05
29 lines
1670 bytes
John--
 
I can take a guess as to what your problem might be, having had similar
experiences myself.
 
Is the views file you're looking to include named <YourAppName>.rsrc?  If it
is, it will indeed be overwritten, as MABuild will use that filename as the
name of the output from the Rez step, without looking to see if there's already
a file there it should keep around.  You can probably modify your .r file to
keep this from happening, but it's easier to just rename the .rsrc file.  I
have two, a <MyAppName>Compiled.rsrc file that contins things such as icons
that I create in ResEdit, and a <MyAppName>Views.rsrc file that contains view
hierarchies and supporting resources as created in Ad Lib.  You might find this
helpful.
 
If you haven't defined clashing names as I described above, I'm not sure what
your problem might be.
 
One other thing I learned the hard way:  MABuild only uses OtherRsrcFiles to
track dependencies.  If you actually want these files' resources to be compiled
into your finished product, you have to add "include" lines to your .r file
(and if you're using Projector and want it to track your .rsrc files, make sure
to add "not ckid" to the end of the include lines).
 
Hope this helps,
 
Rich Gillam
GE Information Services
 
Technical Details
Message-ID: <727630468.7582536@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com
From: GILLAM.R@AppleLink.Apple.COM (Richard Gillam,GEIS)
Newsgroups: comp.sys.mac.oop.macapp3
Subject: Re: MacApp makefiles and Other
Message-ID: <727630468.7582536@AppleLink.Apple.COM>
Date: 21 Jan 93 15:05:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 29