about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-19 00:13:27 +0300
committerNakidai <nakidai@disroot.org>2026-02-19 00:13:27 +0300
commite4fcf7471a1319fee99d68de729aaacfeb044d01 (patch)
treeb665b0dd4c1d092f17d584f6fda8c9fe45934169
parentfb6f0fd115fec4a7c3490d0a3091b81af5ba6378 (diff)
downloadngircd-e4fcf7471a1319fee99d68de729aaacfeb044d01.tar.gz
ngircd-e4fcf7471a1319fee99d68de729aaacfeb044d01.zip
Rename sub-Makefiles into build.mk
So now it is impossible to accidentally start from the wrong place,
and this structure also implicitly tells you how to build
-rw-r--r--Makefile2
-rw-r--r--src/build.mk (renamed from src/Makefile)8
-rw-r--r--src/ipaddr/build.mk (renamed from src/ipaddr/Makefile)0
-rw-r--r--src/ngircd/build.mk (renamed from src/ngircd/Makefile)0
-rw-r--r--src/portab/build.mk (renamed from src/portab/Makefile)0
-rw-r--r--src/tool/build.mk (renamed from src/tool/Makefile)0
6 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b8800555..602d9575 100644
--- a/Makefile
+++ b/Makefile
@@ -5,4 +5,4 @@ all: src/ngircd/ngircd
 .c.o:
 	${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $<
 
-include src/Makefile
+include src/build.mk
diff --git a/src/Makefile b/src/build.mk
index 07adc0cb..ab9f0a39 100644
--- a/src/Makefile
+++ b/src/build.mk
@@ -1,7 +1,7 @@
-include src/ipaddr/Makefile
-include src/ngircd/Makefile
-include src/portab/Makefile
-include src/tool/Makefile
+include src/ipaddr/build.mk
+include src/ngircd/build.mk
+include src/portab/build.mk
+include src/tool/build.mk
 
 LDFLAGS += -Lsrc/portab -Lsrc/tool -Lsrc/ipaddr
 LDLIBS += -lngportab -lngtool -lngipaddr -lz
diff --git a/src/ipaddr/Makefile b/src/ipaddr/build.mk
index e40388bb..e40388bb 100644
--- a/src/ipaddr/Makefile
+++ b/src/ipaddr/build.mk
diff --git a/src/ngircd/Makefile b/src/ngircd/build.mk
index 57d48936..57d48936 100644
--- a/src/ngircd/Makefile
+++ b/src/ngircd/build.mk
diff --git a/src/portab/Makefile b/src/portab/build.mk
index a184ead2..a184ead2 100644
--- a/src/portab/Makefile
+++ b/src/portab/build.mk
diff --git a/src/tool/Makefile b/src/tool/build.mk
index a60eceee..a60eceee 100644
--- a/src/tool/Makefile
+++ b/src/tool/build.mk