From: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: Inherit and use LDFLAGS and CPPFLAGS
--- unicycler.orig/Makefile
+++ unicycler/Makefile
@@ -66,7 +66,7 @@
 
 # These flags are required for the build to work.
 FLAGS        = -std=c++14 -Iunicycler/include -fPIC
-LDFLAGS      = -shared -lz
+LDFLAGS      += -shared -lz
 
 
 # Platform-specific stuff (for Seqan)
@@ -115,4 +115,4 @@
 	$(RM) $(TARGET)
 
 %.o: %.cpp $(HEADERS)
-	$(CXX) $(FLAGS) $(CXXFLAGS) -c -o $@ $<
+	$(CXX) $(CPPFLAGS) $(FLAGS) $(CXXFLAGS) -c -o $@ $<
