Experimental IRC client, daemon and bot
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.

21 lines
469B

  1. SHELL = /bin/sh
  2. CC = clang
  3. CFLAGS = -ggdb -Wall -Wextra -std=c99
  4. # -lpthread is only there for debugging (gdb & errno)
  5. LDFLAGS = `pkg-config --libs libssl` -lpthread
  6. .PHONY: all clean
  7. targets = zyklonb kike
  8. all: $(targets)
  9. clean:
  10. rm -f $(targets)
  11. zyklonb: src/zyklonb.c src/common.c src/siphash.c
  12. $(CC) src/zyklonb.c src/siphash.c -o $@ $(CFLAGS) $(LDFLAGS)
  13. kike: src/kike.c src/common.c src/siphash.c
  14. $(CC) src/kike.c src/siphash.c -o $@ $(CFLAGS) $(LDFLAGS)