Chris Quenelle <Chris.Quenelle at Sun.COM> wrote:
> I'm taking a look at porting GRETL (gretl.sourceforge.net), the Gnu
> Regression, Econometrics and Time-series Library to OSOL. There are two main
> issues I've encountered so far - the need to link to
> lapack, and some Makefile GCCisms.
>
> The file /lib/Makefile.in contains the following section.
> %.lo: %.c
> $(COMPILE) -o $@ $<
> $(CC) $(CFLAGS) -MM -MT $*.lo $< > .deps/$*.d
>
> The -MM and -MT options are GCCisms. The gcc manual explains:
>
> -MM
> Like ???-M??? but do not mention header files that are found in system
> header
> directories, nor header files that are included, directly or indirectly,
> from such
> a header.
Use cc -xM
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily