next: fix the makefiles