Thomee Wright wrote:
> Dunno if you've tried this and it didn't do what you want, but what I do
> is in the dependancies, instead of depending on the .bin files, I depend
> on a bin.stamp file, i.e.
> myapp.prc: myapp bin.stamp
> <build application>
> and then bin.stamp depends on the .rcp file, and is touched when the
> resources are rebuilt:
> bin.stamp: myapp.rcp
> pilrc myapp.rcp
> touch bin.stamp
> I've had no problems with this solution, and the cygwin tools include a
> touch program, so it'll work on MS platforms as well as unix/linux.
>
> Hope that helps,
> -Thomee Wright-
>
> In article <54341@palm-dev-forum>, [EMAIL PROTECTED] says...
> >
> > Don't get me wrong, pilrc and build-prc are great. I doubt I would
> > have "donated" as much time as others have developing them, but I have
> > to say they are not very "makefile friendly".
> >
> > There is no simple way to make a general rule for them because the
> > format of the bin file makes the name of the file significant.
> >
> > %.bin: %.rcp
> > $(PILRC) $(PILRCFLAGS) -o $@ $<
> >
> >
> > What I am looking for is a version of pilrc that would generate some
> > kind of "other" file format that would store all of the "bin"'s from
> > one "rcp" file in one "gnk" (for lack of a better name) file.
> >
> > I image the format would be something like
> > filename1
> > binsize1
> > binbinarydata1
> > filename2
> > binsize2
> > binbinarydata2
> > ...
> >
> > I am guessing the binsize is needed. Might not be if there is the way
> > of telling where a binfile ends.
> >
> > then I would need a program like build-prc that would read this file.
> > I looked in the pilrc code and it looks pretty basic to have it output
> > a file like that. Haven't had a chance to look at build-prc yet, but
> > I am guessing that it would be simple too. Before I do this and then
> > have to maintain my own versions of these, has anyone seen a program
> > that does this already.
> >
> > While I am at it, why when pilrc fails to make one of it's bin files
> > does it not seem to return an error code (i.e. make keeps going)?
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
Very interesting way of doing that, can you reasonably guarantee though that it'll
work for all systems like your's?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/