This is simpler.
This fixes disagreements about object
file names between the sed command and the cc command, should the c file
not be found in the current directory.
Perhaps it would be time to make this
rule part of the default rules in GNU Make? In that case, the -MG option
should also be considered for avoiding errors when auto generated headers
are included, perhaps via an CCMFLAGS variable.
Best regards Robert
-------
Robert Jørgensgaard Engdahl
Cum Laude MSc. C.S.
SW-Developer, R&D
Video Services & Applications
Bang & Olufsen A/S
Peter Bangs Vej 15
DK-7600 Struer
Denmark