Finished makefile
No idea why expand.c was working a while before this fix.