summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-01-14 11:39:45 -0500
committerJakob Kaivo <jkk@ung.org>2020-01-14 11:39:45 -0500
commit0585b504dc2f78510575758182200550e4fe2c35 (patch)
tree1d0e4ed98ef0343845264059b29abae3893ac186
parentac4540cf63dd92b6be7530c44893591b16c97308 (diff)
add note about Makefile being generated in the Makefile
-rw-r--r--make.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/make.c b/make.c
index acf2ed7..4f8b204 100644
--- a/make.c
+++ b/make.c
@@ -7,6 +7,10 @@
static void make_header(FILE *makefile, const char *target)
{
fprintf(makefile, ".POSIX:\n");
+ fprintf(makefile, "# This Makefile was generated by maje\n");
+ fprintf(makefile, "# See https://gitlab.com/jkaivo/maje/ for more information\n");
+ fprintf(makefile, "# Do not edit this Makefile by hand\n");
+
fprintf(makefile, "default: all\n");
fprintf(makefile, "CC=c99\n");