generate a mapfile and symfile on compile

the symfile is convenient and the mapfile is a better source for labels.json
Merge pull request #165 from yenatch/make-mapfile-and-symfile

generate a mapfile and symfile on compile