Author: Michael R. Crusoe <crusoe@ucdavis.edu>
Description: removes link to zlib; add hardening flags; makes clean target
resiliant
--- trinityrnaseq.orig/trinity-plugins/scaffold_iworm_contigs/Makefile
+++ trinityrnaseq/trinity-plugins/scaffold_iworm_contigs/Makefile
@@ -2,9 +2,9 @@
 prefix = ../htslib
 
 ScaffoldIwormContigs:
-	$(CXX) -I$(prefix) -L$(prefix) ScaffoldIwormContigs.cpp error_checker.cpp -lhts -lz -o scaffold_iworm_contigs
+	$(CXX) $(LDFLAGS) -I$(prefix) -L$(prefix) ScaffoldIwormContigs.cpp error_checker.cpp -lhts -o scaffold_iworm_contigs
 
 clean:
-	rm scaffold_iworm_contigs
+	rm -f scaffold_iworm_contigs
 
 
