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/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 00000000..58a5093c
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,21 @@
+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
+
+clean:
+	rm -f ngircd/ngircd
+	find . \( -name '*\.o' -o -name '*\.a' \) -exec rm {} \;