]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanserv/authcmds/Makefile
CHANSERV: try and clean submodules more effectively
[irc/quakenet/newserv.git] / chanserv / authcmds / Makefile
index ea4863a83a2d443d8b1146c75dd5c30c884bc38f..7871dbdc8a6f5ac9198e12eff4aa5a40ea599ffa 100644 (file)
@@ -1,10 +1,15 @@
-# Automatically generated Makefile, do not edit.
+INCPATH=../../
+include ../../build.mk
+include ../build.mk
 
-.PHONY: all Makefile
-all: Makefile chanserv_authcmds.so
+.PHONY: all clean
+all: .autobuild.mk chanserv_authcmds.so
 
-Makefile:
+.autobuild.mk: *.c
        ../mkcommandlist.pl chanserv_authcmds.so
 
-chanserv_authcmds.so: auth.o authhistory.o challenge.o challengeauth.o checkhashpass.o email.o getpassword.o hello.o login.o newpass.o requestpassword.o reset.o sendpassword.o setemail.o setpassword.o commandlist.o init.o 
-        ld -shared -Bdynamic -o $@ $^ 
+sinclude .autobuild.mk
+
+clean:
+       rm -f commandlist.c *.o *.so .autobuild.mk
+