Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 axiom (20140801-1) unstable; urgency=medium
 .
   * New upstream release
Author: Camm Maguire <camm@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

Index: axiom-20170401/src/interp/Makefile.pamphlet
===================================================================
--- axiom-20170401.orig/src/interp/Makefile.pamphlet
+++ axiom-20170401/src/interp/Makefile.pamphlet
@@ -834,13 +834,11 @@ ${OUT}/%.o: ${MID}/%.lisp
 	@ echo siOUTfromMID making ${OUT}/$*.o from ${MID}/$*.lisp
 	@ if [ -z "${NOISE}" ] ; then \
 	   (cd ${MID} ; \
-	    echo '(progn  (compile-file "$*.lisp"' \
-             ':output-file "${OUT}/$*.o") (${BYE}))' | ${DEPSYS} ) ; \
+	    echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.lisp\" :output-file \"${OUT}/$*.o\") (${BYE}))" | ${DEPSYS} ) ; \
 	   else \
 	    (cd ${MID} ; \
-	     echo '(progn  (compile-file "$*.lisp"' \
-             ':output-file "${OUT}/$I.o") (${BYE}))' | ${DEPSYS} ) \
-              1>/dev/null 2>/dev/null ; \
+	     echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.lisp\" :output-file \"${OUT}/$*.o\") (${BYE}))" | ${DEPSYS} ) \
+              1>$$(echo "$(NOISE)" | $(AWK) '{print $$2}') 2>&1 ; \
 	   fi 
 
 ${MID}/%.lisp: ${IN}/%.lisp.pamphlet
@@ -857,13 +855,11 @@ ${OUT}/%.${O}: ${MID}/%.${LISP}
 	@ echo si123 making ${OUT}/$*.${O} from ${MID}/$*.${LISP}
 	@  if [ -z "${NOISE}" ] ; then \
 	 (cd ${MID} ; \
-	   echo '(progn  (compile-file "${MID}/$*.${LISP}"' \
-             ':output-file "${OUT}/$*.${O}") (${BYE}))' | ${DEPSYS} ) ; \
+	    echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.${LISP}\" :output-file \"${OUT}/$*.${O}\") (${BYE}))" | ${DEPSYS} ) ; \
 	  else \
 	  (cd ${MID} ; \
-	   echo '(progn  (compile-file "${MID}/$*.${LISP}"' \
-             ':output-file "${OUT}/$*.${O}") (${BYE}))' | ${DEPSYS} ) \
-              1>/dev/null 2>/dev/null ; \
+	    echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.${LISP}\" :output-file \"${OUT}/$*.${O}\") (${BYE}))" | ${DEPSYS} ) ; \
+              1>$$(echo "$(NOISE)" | $(AWK) '{print $$2}') 2>&1 ; \
 	  fi 
 
 \end{chunk}
