I have tried to simplify this makefile to the bare minimum, but cannot get it to use an executable to convert one type of file to another if the timestamps have changed. I'm sure there is a stupidly simple answer but cannot find it:
%.pvr : %.bmp $(toolpath) -i"$<" -fOGLPVRTC4 -r2 -x512 -y512 -m -o$@ all : 01.pvr 01.pvr : 01.bmp
I am attempting to convert all .bmp files specified to .pvr
01.pvr does not exist. 01.bmp does exist. However i always get
make: Nothing to be done for `all'.
Edit: ok, this was not the exact makefile I was using, in fact the files were not called 01.pvr and 01.bmp, they were foo.pvr and bar.bmp This seems to make a difference. What could that be?