summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/make/makefile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/project/make/makefile.lua')
-rw-r--r--xmake/plugins/project/make/makefile.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/plugins/project/make/makefile.lua b/xmake/plugins/project/make/makefile.lua
index c5b76880a..c2c44508d 100644
--- a/xmake/plugins/project/make/makefile.lua
+++ b/xmake/plugins/project/make/makefile.lua
@@ -320,6 +320,12 @@ end
-- make all
function _make_all(makefile)
+ -- make head
+ makefile:print([[# this is the build file for project %s
+# it is autogenerated by the xmake build system.
+# do not edit by hand.
+]], project.name() or "")
+
-- make variables for ccache
local ccache = find_tool("ccache")
if ccache then