summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-03-18 14:18:29 +0100
committersijanec <anton@sijanec.eu>2021-03-18 14:18:29 +0100
commit59004bab38044f694853188d537b2fc545abeb0b (patch)
treea6a63a58c160f0250591694efdd59d939a33ca12 /Makefile
parentveč napisanega, manj delujočega (: (diff)
downloaddiscord.c-59004bab38044f694853188d537b2fc545abeb0b.tar
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.gz
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.bz2
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.lz
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.xz
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.zst
discord.c-59004bab38044f694853188d537b2fc545abeb0b.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5d5f623..1ea322b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
default:
- gcc -Wall -pedantic -g -Ilib -Isrc -I. -pthread src/main.c -lcurl -lncursesw -lformw -lm -odiscord.c
+ gcc -Wall -pedantic -g -Ilib -Isrc -I. -pthread $$(ncursesw6-config --cflags --libs) src/main.c -lcurl -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