/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

  1. # Makefile for src/mod/share.mod/.
  2. #
  3. # $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
  4. MOD_NAME = share
  5. srcdir = .
  6. doofus:
  7. @echo ""
  8. @echo "Let's try this from the right directory..."
  9. @echo ""
  10. @cd ../../../ && make
  11. static: ../$(MOD_NAME).o
  12. modules: ../../../$(MOD_NAME).$(MOD_EXT)
  13. ../$(MOD_NAME).o:
  14. $(CC) $(CFLAGS) -DMAKING_MODS -c $(srcdir)/$(MOD_NAME).c
  15. @rm -f ../$(MOD_NAME).o
  16. mv $(MOD_NAME).o ../
  17. ../../../$(MOD_NAME).$(MOD_EXT): ../$(MOD_NAME).o
  18. $(LD) -o ../../../$(MOD_NAME).$(MOD_EXT) ../$(MOD_NAME).o $(XLIBS) $(MODULE_XLIBS)
  19. $(STRIP) ../../../$(MOD_NAME).$(MOD_EXT)
  20. depend:
  21. $(CC) $(CFLAGS) -MM $(MOD_NAME).c -MT ../$(MOD_NAME).o > .depend
  22. clean:
  23. @rm -f .depend *.o *.$(MOD_EXT) *~
  24. distclean: clean
  25. #safety hash
  26. ../share.o: share.c ../../../src/mod/module.h ../../../src/main.h \
  27. ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
  28. ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
  29. ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
  30. ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
  31. ../../../src/users.h ../../../src/compat/compat.h \
  32. ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
  33. ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
  34. ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  35. ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
  36. ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
  37. ../../../src/net.h ../../../src/mod/transfer.mod/transfer.h \
  38. ../../../src/mod/channels.mod/channels.h ../../../src/botcmd.h share.h \
  39. uf_features.c