]> jfr.im git - irc/quakenet/newserv.git/blame_incremental - geoip/Makefile
CHANSERV: remove accidental sendemail from SETEMAIL command.
[irc/quakenet/newserv.git] / geoip / Makefile
... / ...
CommitLineData
1include ../build.mk
2
3GEOIPDIRS=libGeoIP
4LDFLAGS+=-lc
5
6.PHONY: all clean distclean $(GEOIPDIRS) dirs
7
8all: dirs geoip.so
9
10libGeoIP/libgeoip.a: dirs
11
12geoip.so: geoip.o libGeoIP/libgeoip.a
13
14dirs: $(GEOIPDIRS)
15
16$(GEOIPDIRS):
17 cd $@ && $(MAKE) $(MFLAGS) all
18
19clean:
20 rm -f */*.o */*.so *.o *.so */*.a
21 rm -rf .deps */.deps