added variables.mk, edited makefiles