compile mad app