include ../build.mk
include build.mk
-CSDIRS=database chancmds usercmds authcmds authtracker newsearch achievements achcmds
+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
cd $@ && $(MAKE) $(MFLAGS) all
clean:
- rm -f */*.o */*.d */*.so *.o *.d *.so
+ 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