| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # Makefile for src/mod/irc.mod/
- srcdir = .
- doofus:
- @echo ""
- @echo "Let's try this from the right directory..."
- @echo ""
- @cd ../../../ && make
- static: ../irc.o
- ../irc.o:
- @echo -e "Compiling: \033[1m`basename $< .c`\033[0m"
- @$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c $(srcdir)/irc.c
- @rm -f ../irc.o
- @mv irc.o ../
- depend:
- @$(CC) $(CFLAGS) $(CPPFLAGS) -MM $(srcdir)/irc.c > .depend
- clean:
- @rm -f .depend *.o *~
- distclean: clean
- #safety hash
- ../irc.o: .././irc.mod/irc.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../config.h ../../../pack/conf.h \
- ../../../src/lang.h \
- ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
- ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
- ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
- ../../../src/users.h ../../../src/compat/compat.h ../../../src/compat/inet_ntop.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/tandem.h ../irc.mod/irc.h \
- ../../../src/mod/server.mod/server.h \
- ../../../src/mod/channels.mod/channels.h ../irc.mod/chan.c \
- ../irc.mod/mode.c ../irc.mod/cmdsirc.c ../irc.mod/msgcmds.c \
- ../irc.mod/tclirc.c
|