--HG--
branch : chanserv-live
include build.mk
CSDIRS=database chancmds usercmds authcmds authtracker newsearch
+CLEANDIRS=chancmds usercmds authcmds
.PHONY: all dirs $(CSDIRS) clean distclean
all: chanserv.so chanserv_protect.so chanserv_grep.so chanserv_relay.so chanserv_flags.so chanserv_cleanupdb.so dirs
clean:
rm -f */*.o */*.so *.o *.so
rm -rf */.deps .deps
+ for i in $(CLEANDIRS) ; do $(MAKE) -C $$i $(MFLAGS) clean ; done
distclean:
rm -f */.autobuild.mk .autobuild.mk
include ../../build.mk
include ../build.mk
-.PHONY: all
+.PHONY: all clean
all: .autobuild.mk chanserv_authcmds.so
.autobuild.mk: *.c
../mkcommandlist.pl chanserv_authcmds.so
sinclude .autobuild.mk
+
+clean:
+ rm -f commandlist.c *.o *.so .autobuild.mk
+
include ../../build.mk
include ../build.mk
-.PHONY: all
+.PHONY: all clean
all: .autobuild.mk chanserv_chancmds.so
.autobuild.mk: *.c
sinclude .autobuild.mk
+clean:
+ rm -f commandlist.c *.o *.so .autobuild.mk
include ../../build.mk
include ../build.mk
-.PHONY: all
+.PHONY: all clean
all: .autobuild.mk chanserv_usercmds.so
.autobuild.mk: *.c
../mkcommandlist.pl chanserv_usercmds.so
sinclude .autobuild.mk
+
+clean:
+ rm -f commandlist.c *.o *.so .autobuild.mk
+