]> jfr.im git - irc/quakenet/newserv.git/blobdiff - nterfacer/Makefile
Update README.
[irc/quakenet/newserv.git] / nterfacer / Makefile
index a870bb5ebf99d4735c970da75d203bd2c699e03b..79261309e4b82c14e34fb5f66bb9b1072122605c 100644 (file)
@@ -1,22 +1,17 @@
+include ../build.mk
+
 CFLAGS+=$(INCPCRE)
+LDFLAGS+=$(LIBPCRE)
 
 .PHONY: all
-all: nterfacer.so nterfacer_control.so nterfacer_relay.so nterfacer_chanstats.so nterfacer_country.so nterfacer_spamscan2.so
+all: nterfacer.so nterfacer_control.so nterfacer_relay.so nterfacer_chanstats.so nterfacer_country.so
 
 nterfacer.so: nterfacer.o logging.o esockets.o library.o
-       ld -shared -Bdynamic -o $@ $^
 
 nterfacer_control.so: nterfacer_control.o
-       ld -shared -Bdynamic -o $@ $^
 
 nterfacer_relay.so: nterfacer_relay.o
-       ld -shared -Bdynamic ${LIBPCRE} -o $@ $^
 
 nterfacer_chanstats.so: nterfacer_chanstats.o
-       ld -shared -Bdynamic -o $@ $^
 
 nterfacer_country.so: nterfacer_country.o
-       ld -shared -Bdynamic -o $@ $^
-
-nterfacer_spamscan2.so: nterfacer_spamscan2.o
-       ld -shared -Bdynamic ${LIBPCRE} -o $@ $^