summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-02-25 00:54:36 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2022-02-25 00:54:36 +0100
commitdc07e4bf7f4628852eee26b114348498caad0182 (patch)
tree597cce2a6e81a13a959b1beae2508b761ef04773 /Makefile
parenti suppose parsing json is easyer with cjson than lejp (: (diff)
downloaddiscord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar
discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.gz
discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.bz2
discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.lz
discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.xz
discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.zst
discord.c-dc07e4bf7f4628852eee26b114348498caad0182.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 19d2c60..a10bd45 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,11 @@ DESTDIR=/
SRCFILE=src/main.c
BINFILE=discord.c
O=0
+CC=cc
CFLAGS += -Wextra -Wall -pedantic -g -O$O -Itmp -Isrc -I. -odiscord.c -Wno-unused-parameter -rdynamic -finput-charset=UTF-8 -fextended-identifiers
LIBS += -lm
CFLAGS += $(shell pkg-config --cflags libwebsockets) $(shell pkg-config --cflags gtk+-3.0) $(shell pkg-config --cflags gmodule-export-2.0)
LIBS += $(shell pkg-config --libs libwebsockets) $(shell pkg-config --libs gtk+-3.0) $(shell pkg-config --libs gmodule-export-2.0) -lcjson
-CC=cc
VGARGS += --leak-check=full --track-origins=yes --verbose --log-file=valgrind-out.txt --suppressions=/usr/share/glib-2.0/valgrind/glib.supp --suppressions=tmp/gtk.supp --suppressions=/usr/lib/i386-linux-gnu/valgrind/default.supp --suppressions=tmp/gnome.supp --show-leak-kinds=definite --suppressions=misc/misc.supp --suppressions=/usr/share/gtk-3.0/valgrind/gtk.supp --leak-resolution=low
# notparallel ker morajo biti ukazi izvedeni po vrsti, mkdir se mora zgoditi pred xxd recimo.