about summary refs log tree commit diff
path: root/src/Makefile
blob: 07adc0cb18a40397b26ce7347f113143d6a3a8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include src/ipaddr/Makefile
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 {} \;