add support for gcc flags
fix typo
support multiple flags
Merge pull request #2 from proneetv/master

add support for gcc flags. Works as intended . Will close this issue when the test suite is complete.