about summary refs log tree commit diff
path: root/src/portab/build.mk
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-19 00:54:17 +0300
committerNakidai <nakidai@disroot.org>2026-02-19 00:54:17 +0300
commit18375860d92de2fa3a58defee0e099f777fd3d30 (patch)
tree1bba58e4aa0c7aef6cd9cc56556965d486d3f02e /src/portab/build.mk
parente4fcf7471a1319fee99d68de729aaacfeb044d01 (diff)
downloadngircd-master.tar.gz
ngircd-master.zip
Add header file dependencies HEAD master
Now build system will handle header file changes correctly as well
Diffstat (limited to 'src/portab/build.mk')
-rw-r--r--src/portab/build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/portab/build.mk b/src/portab/build.mk
index a184ead2..5e87a165 100644
--- a/src/portab/build.mk
+++ b/src/portab/build.mk
@@ -7,5 +7,8 @@ OBJS.portab += src/portab/strtok_r.o
 OBJS.portab += src/portab/vsnprintf.o
 OBJS.portab += src/portab/waitpid.o
 
+DEPS := ${OBJS.portab:.o=.d}
+-include ${DEPS}
+
 src/portab/libngportab.a: ${OBJS.portab}
 	ar rcs src/portab/libngportab.a ${OBJS.portab}