diff options
author | sijanec <anton@sijanec.eu> | 2021-03-17 23:21:37 +0100 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-03-17 23:21:37 +0100 |
commit | 2a5e31c42603f38e9933e0f0cc1857da618f98c5 (patch) | |
tree | d27a1278eb8a5fa9255ea33c16b7427779f3bf1d /Makefile | |
parent | končal api, "končal" main, začel ui (diff) | |
download | discord.c-2a5e31c42603f38e9933e0f0cc1857da618f98c5.tar discord.c-2a5e31c42603f38e9933e0f0cc1857da618f98c5.tar.gz discord.c-2a5e31c42603f38e9933e0f0cc1857da618f98c5.tar.bz2 discord.c-2a5e31c42603f38e9933e0f0cc1857da618f98c5.tar.lz discord.c-2a5e31c42603f38e9933e0f0cc1857da618f98c5.tar.xz discord.c-2a5e31c42603f38e9933e0f0cc1857da618f98c5.tar.zst discord.c-2a5e31c42603f38e9933e0f0cc1857da618f98c5.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |