fix PHONY bug in Makefile; add debug target to all mixed