Makefile 514 B

123456789101112131415161718192021222324252627
  1. # Makefile for src/mod/irc.mod/
  2. srcdir = .
  3. depcomp = /bin/sh ../../../autotools/depcomp
  4. doofus:
  5. @echo ""
  6. @echo "Let's try this from the right directory..."
  7. @echo ""
  8. @cd ../../../ && make
  9. static: ../irc.o
  10. ../irc.o:
  11. @echo -e "Compiling: \033[1mirc\033[0m"
  12. @source='irc.c' object='$@' depfile='.deps/irc.Po' tmpdepfile='.deps/irc.TPo' depmode=gcc3 $(depcomp) \
  13. $(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c $(srcdir)/irc.c
  14. @rm -f ../irc.o
  15. @mv irc.o ../
  16. clean:
  17. @rm -f .depend *.o *~
  18. distclean: clean