> 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 $@ $<

  have you looked at my Makefiles?

---
liberty: $(EXEC) $(EXEC).def bin.stamp
        $(BUILDPRC) $(EXEC).def liberty *.bin

...

bin.stamp: $(EXEC).rcp
        $(PILRC) -q $(EXEC).rcp
---

  look at cube3D/burning samples on my website.. www.ardiri.com
   
> 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.

  you haven't been watching the pilrc website much have you?

    http://www.ardiri.com/index.cfm?redir=palm&cat=pilrc&subcat=patches

pilrc 2.8p1
o added "-R output.ro -prc" option
- resources are bundled into a prc database (instead of .bin) !yay!

  need step by step walkthrough?

    http://www.geocrawler.com/archives/3/2912/2001/5/0/5685984/

  pilrc is now at 2.8p5 - i got a few bugs/patches to integrate, i'll
  release 2.8p6 soon, but, once its tested and stable, i hope to release
  a more public version (3.0!)

  the fix "todo" list is here:

    http://www.geocrawler.com/archives/3/2912/2001/5/0/5833979/

  :) the header file problem is fixed, not integrated yet tho.

> 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.

  see above.. the hope is to not have people maintaining their own
  versions, but sending in patches so we can keep one single version
  up-to-date :)
 
> 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)?

  hey, code is available.. send me a patch - or, use another util :)
  probably just need to return an error code.. easy fix. :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to