Material file-loading, Linux makefile

Special thanks go to my linux hommies.