update ignore file: add device flags backup file to ignore
fix hard coded parameters in makefile; add cache level parameter