GNU make: suffix rule combined with custom rule
Suppose I have the following:
myfile.xyz: myfile.abc
mycommand
.SUFFIXES:
.SUFFIXES: .xyz .abc
.abc.xyz:
flip -e abc "$<" > "logs/$*.log"
Now suppose I want to have mycommand be a custom rule (as it is currently)
but also have the suffix rule run afterward (or before). That is, I do not
want my custom rule to replace the suffix rule.
No comments:
Post a Comment