From 2a5e31c42603f38e9933e0f0cc1857da618f98c5 Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 17 Mar 2021 23:21:37 +0100 Subject: =?UTF-8?q?ve=C4=8D=20napisanega,=20manj=20delujo=C4=8Dega=20(:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index de9b211..5d5f623 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ default: - gcc -Wall -pedantic -g -Ilib -Isrc -I. -pthread src/api.c -lcurl -lncurses -lform -odiscord.c + gcc -Wall -pedantic -g -Ilib -Isrc -I. -pthread src/main.c -lcurl -lncursesw -lformw -lm -odiscord.c prepare: wget https://raw.githubusercontent.com/DaveGamble/cJSON/master/cJSON.c -O lib/cJSON.c wget https://raw.githubusercontent.com/DaveGamble/cJSON/master/cJSON.h -O lib/cJSON.h clean: rm lib/cJSON.c lib/cJSON.h +valgrind: + valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt --suppressions=/usr/lib/valgrind/ncurses.supp --suppressions=misc/openssl.supp ./discord.c -- cgit v1.2.3