-I$(shell $(LLVM_CONFIG) --includedir)          \
                -L$(shell $(LLVM_CONFIG) --libdir)              \
                $(shell $(LLVM_CONFIG) --libs Core BPF)         \
-               $(shell $(LLVM_CONFIG) --system-libs)
+               $(shell $(LLVM_CONFIG) --system-libs)           \
+               > $(@:.bin=.make.output) 2>&1
 
 $(OUTPUT)test-llvm-version.bin:
        $(BUILDXX) -std=gnu++11                                 \
-               -I$(shell $(LLVM_CONFIG) --includedir)
+               -I$(shell $(LLVM_CONFIG) --includedir)          \
+               > $(@:.bin=.make.output) 2>&1
 
 $(OUTPUT)test-clang.bin:
        $(BUILDXX) -std=gnu++11                                 \
                  -lclangFrontend -lclangEdit -lclangLex        \
                  -lclangAST -Wl,--end-group                    \
                $(shell $(LLVM_CONFIG) --libs Core option)      \
-               $(shell $(LLVM_CONFIG) --system-libs)
+               $(shell $(LLVM_CONFIG) --system-libs)           \
+               > $(@:.bin=.make.output) 2>&1
 
 -include $(OUTPUT)*.d