made headway on makefile problems. now there are less undefined symbol errors