Commits

Anonymous committed 69ec79a

* fixed escaping of dependency files

  • Participants
  • Parent commits da755db

Comments (0)

Files changed (1)

src/actions/make/make_cpp.lua

 	function cpp.buildcommand(prj, objext, node)
 		local iscfile = node and path.iscfile(node.abspath) or false
 		local flags = iif(prj.language == "C" or iscfile, '$(CC) $(ALL_CFLAGS)', '$(CXX) $(ALL_CXXFLAGS)')
-		_p('\t$(SILENT) %s -o "$@" -MF $(@:%%.%s=%%.d) -c "$<"', flags, objext)
+		_p('\t$(SILENT) %s -o "$@" -MF "$(@:%%.%s=%%.d)" -c "$<"', flags, objext)
 	end