]> jfr.im git - irc/quakenet/newserv.git/blame - geoip/Makefile
Fix dependencies for the geoip module.
[irc/quakenet/newserv.git] / geoip / Makefile
CommitLineData
c5a04a43 1include ../build.mk
cc3768c4 2
69793602 3GEOIPDIRS=libGeoIP
920583bd 4LDFLAGS+=-lc
69793602
CP
5
6.PHONY: all clean distclean $(GEOIPDIRS) dirs
7
8all: dirs geoip.so
9
73ea5458
GB
10libGeoIP/libgeoip.a: dirs
11
12geoip.so: geoip.o libGeoIP/libgeoip.a
69793602
CP
13
14dirs: $(GEOIPDIRS)
15
16$(GEOIPDIRS):
17 cd $@ && $(MAKE) $(MFLAGS) all
cc3768c4 18
9a3f5e27 19clean:
73ea5458 20 rm -f */*.o */*.so *.o *.so */*.a