about summary refs log tree commit diff
path: root/src/build.mk
blob: 8e8641fd9ff76041b1cd87e2a2385fa30d7c211f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include src/ipaddr/build.mk
include src/ngircd/build.mk
include src/portab/build.mk
include src/tool/build.mk

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 {} \;

cleandeps:
	find . -name '*\.d' -exec rm {} \;