/src/mod/share.mod/Makefile
https://github.com/Estella/eggdrop-1.7 · Makefile · 50 lines · 35 code · 11 blank · 4 comment · 1 complexity · 54f7c8a350213362fd99401141e63732 MD5 · raw file
- # Makefile for src/mod/share.mod/.
- #
- # $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
- MOD_NAME = share
- srcdir = .
- doofus:
- @echo ""
- @echo "Let's try this from the right directory..."
- @echo ""
- @cd ../../../ && make
- static: ../$(MOD_NAME).o
- modules: ../../../$(MOD_NAME).$(MOD_EXT)
- ../$(MOD_NAME).o:
- $(CC) $(CFLAGS) -DMAKING_MODS -c $(srcdir)/$(MOD_NAME).c
- @rm -f ../$(MOD_NAME).o
- mv $(MOD_NAME).o ../
- ../../../$(MOD_NAME).$(MOD_EXT): ../$(MOD_NAME).o
- $(LD) -o ../../../$(MOD_NAME).$(MOD_EXT) ../$(MOD_NAME).o $(XLIBS) $(MODULE_XLIBS)
- $(STRIP) ../../../$(MOD_NAME).$(MOD_EXT)
- depend:
- $(CC) $(CFLAGS) -MM $(MOD_NAME).c -MT ../$(MOD_NAME).o > .depend
- clean:
- @rm -f .depend *.o *.$(MOD_EXT) *~
- distclean: clean
- #safety hash
- ../share.o: share.c ../../../src/mod/module.h ../../../src/main.h \
- ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
- ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
- ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
- ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
- ../../../src/users.h ../../../src/compat/compat.h \
- ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
- ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
- ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
- ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
- ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
- ../../../src/net.h ../../../src/mod/transfer.mod/transfer.h \
- ../../../src/mod/channels.mod/channels.h ../../../src/botcmd.h share.h \
- uf_features.c