use compiler variables instead of commands
Merge pull request #3 from benolee/use-compiler-variables-in-makefile

use compiler variables instead of commands