On Sun, Jun 3, 2012 at 7:34 AM, Joshua M. Clulow <[email protected]> wrote: > On 3 June 2012 23:55, Richard Sharpe <[email protected]> wrote: >> We have the following in the Makefile: >> .SUFFIXES: .so >> >> .o.so: >> @echo "Linking $<" >> @$(CC) $(LDSHFLAGS) $(LDFLAGS) $*.o -o $*.so >> >> and make is objecting with: Don't know how to make blah.so. >> >> Is there any way to work around this? > > You need both suffixes in .SUFFIXES... > > i.e. > > .SUFFIXES: .down .up > TR= /usr/bin/tr > .down.up: > @echo "Munging $<" > $(TR) "[:lower:]" "[:upper:]" < $*.down > $*.up >
Hmmm, that does not _seem_ to be the case. Regardless of whether I have .SUFFIXES: .o .so or .SUFFIXES: .so .o I still get the same message indicating that it does not know how to build a .so from a .o (The indent above is for exposition purposes, the .SUFFIXES: is hard up against the left hand column in the Makefile.) -- Regards, Richard Sharpe (何以解憂?唯有杜康。--曹操) _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
