use wildcard instead of listing each file. Correction in Makefile Binarytree objs --> obj