Alan Coopersmith <[EMAIL PROTECTED]> wrote: > Joerg Schilling wrote: > > The Makefile > > > > xc/programs/dpsinfo/Makefile > > > > contains: > > > > .psw.c : $(PSWRAP) > > $(PSWRAP) -a -o $*.c -h $*.h $< > > > > > > This syntax is neither covered by the POSIX make standard > > nor by the Sun make man page. > > I would call this a bug and my smake program uses this kind of > > Syntax for "Simple Suffix Rules". As a result, smake cannot > > compile X. > > > > Sun make and GNU make both seem to ignore the superfluous $(PSWRAP) > > past the colon..... > > Is it a GNU make-ism? Those slip in from time to time, and either the > BSD guys or our Solaris builds normally catch those if they break the > build, but if it simply continues on without error it could easily slip by.
After I fixed my parser not to allow the old (1985) simple suffix rules in case that the right side includes a slash, it works for me with smake too. So it seems that the fact that it did work with Sun make and gmake is a result of a lazy written parser :-) Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org