blob: 2ce89d489cef97b6df7be5ae449aa8e9539fab97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
PROJECT=agni
CC=gcc
CFLAGS=-g3
make:
$(CC) $(CFLAGS) buf.c -c
$(CC) $(CFLAGS) mmm.c -c
$(CC) $(CFLAGS) darray.c -c
$(CC) $(CFLAGS) mq_cmd.c -c
$(CC) $(CFLAGS) mq_ntf.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) mmm.c -c
$(CC) $(CFLAGS) tbl_qcmd.o mq_cmd.o mq_ntf.o buf.o mmm.o darray.o util.o sock_conn.o \
irc_parse.o mmm.c agni.c \
-o $(PROJECT) -std=c11 -lrt
leak:
valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./$(PROJECT)
clean:
rm -f agni *.o
|