about summary refs log tree commit diff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile23
1 files changed, 5 insertions, 18 deletions
diff --git a/src/Makefile b/src/Makefile
index 58a5093c..28633a05 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,21 +1,8 @@
-LIBS += portab/libngportab.a
-LIBS += ipaddr/libngipaddr.a
-LIBS += tool/libngtool.a
-
-all: ngircd/ngircd
-
-ngircd/ngircd: ${LIBS}
-	make -C ngircd
-
-portab/libngportab.a:
-	make -C portab
-
-ipaddr/libngipaddr.a:
-	make -C ipaddr
-
-tool/libngtool.a:
-	make -C tool
+include src/ipaddr/Makefile
+include src/ngircd/Makefile
+include src/portab/Makefile
+include src/tool/Makefile
 
 clean:
-	rm -f ngircd/ngircd
+	rm -f src/ngircd/ngircd
 	find . \( -name '*\.o' -o -name '*\.a' \) -exec rm {} \;