added irq macro, fixed compile issues
added shmac.h file and gitignore