Added makefile exporter.
Support new compile parameter on Linux.