Makefile: First try at rewriting the ccan Makefile.