I wrote a makefile which behaves oddly. You can find it here: http://pastebit.com/pastie/8215
Basically every time i type make clean, make executes rules on lines 44, 40 and 25 (in this order). It is very odd since nothing depends on clean and clean doesn’t have any dependecies.
Any thoughts?
I think you need to add this to the bottom of your Makefile:
and remove the “include .depend” from line 29.