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/