LibIRCClient 1.10 Used by Probotic
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

41 line
679B

  1. CC = @CC@
  2. CXX = @CXX@
  3. CFLAGS = -Wall @CFLAGS@
  4. LIBS = -L../src/ -lircclient -lpthread @LIBS@
  5. INCLUDES=-I../include
  6. EXAMPLES=spammer censor irctest ircftp colors
  7. all: $(EXAMPLES)
  8. spammer: spammer.o
  9. $(CC) -o spammer spammer.o $(LIBS)
  10. colors: colors.o
  11. $(CXX) -o colors colors.o $(LIBS)
  12. irctest: irctest.o
  13. $(CC) -o irctest irctest.o $(LIBS)
  14. censor: censor.o
  15. $(CXX) -o censor censor.o $(LIBS)
  16. ircftp: ircftp.o
  17. $(CXX) -o ircftp ircftp.o $(LIBS)
  18. clean:
  19. -rm -f $(EXAMPLES) *.o *.exe
  20. distclean: clean
  21. -rm -f Makefile *.log
  22. .c.o:
  23. @echo "Compiling $<"
  24. @$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
  25. .cpp.o:
  26. @echo "Compiling $<"
  27. @$(CXX) $(CFLAGS) $(INCLUDES) -c -o $@ $<