rework makefile for better fron/back separation