Allen BrownSun Dec 26 21:03:49 PST 2004
I'm having trouble expressing a rule using GNU make. This is what I want: file1_t file2_t: $(@:_t=_t.o) $(@:_t=.o) rules to compile and test file*_t The problem is that $(@) type constructs don't seem to work in the dependency list. For instance file: $(@).o causes make to try to create ".o" from ".c". So evidently in the dependency list $(@) is a null string. What is the right way to express this? -- Allen Brown work: Agilent Technologies non-work: http://www.peak.org/~abrown/ allen_brown at agilent.com abrown at peak.org If it's true that we're all here to help others, then what exactly are the OTHERS here for?