Generic makefiles for handling course material and research publications