From: Michael R. Crusoe <crusoe@debian.org>
Subject: add standard CXXFLAGS CPPFLAGS to Chrysalis & scaffold_iworm_contigs
Forwarded: https://github.com/trinityrnaseq/Chrysalis/pull/1
and https://github.com/trinityrnaseq/trinityrnaseq/pull/1090
--- trinityrnaseq.orig/Chrysalis/Makefile
+++ trinityrnaseq/Chrysalis/Makefile
@@ -1,10 +1,10 @@
 all:
 	mkdir -p build
-	cd build && cmake -DCMAKE_INSTALL_PREFIX="" ../ && make DESTDIR=../ install
+	cd build && cmake -DCMAKE_INSTALL_PREFIX="" ../ && ${MAKE} DESTDIR=../ install
 
 debug:
 	mkdir -p build
-	cd build && cmake -DCMAKE_INSTALL_PREFIX="" -DCMAKE_BUILD_TYPE=Debug ../ && make DESTDIR=../ install
+	cd build && cmake -DCMAKE_INSTALL_PREFIX="" -DCMAKE_BUILD_TYPE=Debug ../ && ${MAKE} DESTDIR=../ install
 
 
 clean:
