deweylab / RSEM

RSEM: accurate quantification of gene and isoform expression from RNA-Seq data
http://deweylab.biostat.wisc.edu/rsem/
GNU General Public License v3.0
408 stars 118 forks source link

Standardize compiler variables and allow override, add install target #20

Closed outpaddling closed 8 years ago

outpaddling commented 8 years ago

These changes standardize the names of compiler variables like CXX and CXXFLAGS and allow them to be overridden by the environment.

Also added a basic install target to the master Makefile.

These changes will aid package managers (Debian packages, FreeBSD ports, MacPorts, etc.), which set standard compiler variables and utilize an install target if available.

The default behavior of the Makefile, when used outside a package manager, should be the same as before.

Some minor patching will still be needed, such as setting the Perl lib path for scripts that use the Perl module. For now I've left this to the package maintainer.

bli25wisc commented 8 years ago

@outpaddling Thanks for the modifications! Since I just rewrote the Make file, I cannot merge your request directly. However, I have adopted the installation portion of your modification into RSEM's new Makefile.

Thanks! Bo