strange makefile behavior