Added debug flag to Make file
Better use of create and release of OMAP resources