projectile class, improved makefile