diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-02-25 21:06:00 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-02-25 21:06:00 +0000 |
commit | 927ab156f3ea4caac01e45e1d96e719fa3a53638 (patch) | |
tree | 29a78376c1b6c2be5340c38a386b17639c2f7299 /Makefile | |
parent | 913db4648dabfce65e58a128a35c356ac0042ae9 (diff) | |
download | agni-927ab156f3ea4caac01e45e1d96e719fa3a53638.tar.gz agni-927ab156f3ea4caac01e45e1d96e719fa3a53638.zip |
GLued up socket connectiona and messaging
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 17 insertions, 10 deletions
@@ -1,15 +1,22 @@ +PROJECT=agni +CC=gcc +CFLAGS=-Wall + make: - gcc buf.c -c - gcc mmm.c -c - gcc darray.c -c - gcc mq_cmd.c -c - gcc tbl_qcmd.c -c - gcc util.c -c - gcc sock_conn.c -c - gcc irc_parse.c -c - gcc tbl_qcmd.o mq_cmd.o buf.o mmm.o darray.o util.o sock_conn.o \ + $(CC) $(CFLAGS) buf.c -c + $(CC) $(CFLAGS) mmm.c -c + $(CC) $(CFLAGS) darray.c -c + $(CC) $(CFLAGS) mq_cmd.c -c + $(CC) $(CFLAGS) tbl_qcmd.c -c + $(CC) $(CFLAGS) util.c -c + $(CC) $(CFLAGS) sock_conn.c -c + $(CC) $(CFLAGS) irc_parse.c -c + $(CC) $(CFLAGS) tbl_qcmd.o mq_cmd.o buf.o mmm.o darray.o util.o sock_conn.o \ irc_parse.o agni.c \ - -o agni -std=c11 -lrt + -o $(PROJECT) -std=c11 -lrt + +leak: + valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./$(PROJECT) clean: rm -f agni *.o
\ No newline at end of file |