add generic Makefile for subdirectories

Signed-off-by: Sebastien Varrette <sebastien.varrette@uni.lu>