On Thu, Oct 22, 2009 at 08:21:59AM +0100, Misha Aizatulin wrote:
>   Does anyone have a suggestion for dealing with this? Is there a way to
> add something to the file before the first preprocessing pass?

Here is how we solve the very same problem for CPC:

# Makefile
.cpc.cpi:
        gcc -E -x c $(CFLAGS) -include cpc/cpc_runtime.h \
          -o $@ $<

And then, process the .cpi files with CIL.

Regards,
-- 
Gabriel Kerneis

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to