Please include your problem report in plain text in your mail; if you want to include a tar.gz attachment with sample code that's fine, but at least the problem description should be in plaintext. It's a big pain to unpack the attachment before we even have a clue what the problem is.
Anyway, you're missing this important note in the GNU make manual describing how target-specific variables work: > [...] As with automatic variables, these values are only available > within the context of a target's command script (and in other > target-specific assignments). So, your lines like this: > sd: O = objs > > $(O)/sdlcmain.o: $(H)/sdlcmain.h sdlcmain.c will not do what you expect: the target-specific value of $(O) is not in effect during the parsing of the target or prerequisites, it's only in effect during the command script. I'm quite sure that they have this same limitation in Solaris make, as well. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make
