How do I use ESQL/C in a makefile?
Jonathan Leffler (johnl@informix.com) writes: Please note that just as you use CC (or $(CC) or ${CC}) to denote the C compiler, so too you should use a macro to denote the ESQL/C compiler. Also, the ESQL/C compiler script compiles .c to .o quite happily, and it provides the -I options which are in general necessary (this is what Cosmo (simond@informix.com) said). And ‘rm -f’ should not return an error, (so the ‘-‘ is unnecessary), and should be echoed in my view (possibly controversial, but if you agree, the ‘@’ is unnecessary).