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/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 28633a05..07adc0cb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,6 +3,13 @@ include src/ngircd/Makefile
 include src/portab/Makefile
 include src/tool/Makefile
 
+LDFLAGS += -Lsrc/portab -Lsrc/tool -Lsrc/ipaddr
+LDLIBS += -lngportab -lngtool -lngipaddr -lz
+
+CFLAGS += -DDOCDIR='"/usr/local/share/doc/ngircd"'
+CFLAGS += -DHAVE_CONFIG_H
+CFLAGS += -Isrc -Isrc/portab -Isrc/ipaddr -Isrc/tool
+
 clean:
 	rm -f src/ngircd/ngircd
 	find . \( -name '*\.o' -o -name '*\.a' \) -exec rm {} \;