summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-03-16 23:38:00 +0100
committersijanec <anton@sijanec.eu>2021-03-16 23:38:00 +0100
commit1840a7c2ed24c2e4fa731430d36a6c1da597b8ee (patch)
tree387c5d47f4627ed631a6e1272519dd6ac5777bd6 /Makefile
parentfinnaly compiles (diff)
downloaddiscord.c-1840a7c2ed24c2e4fa731430d36a6c1da597b8ee.tar
discord.c-1840a7c2ed24c2e4fa731430d36a6c1da597b8ee.tar.gz
discord.c-1840a7c2ed24c2e4fa731430d36a6c1da597b8ee.tar.bz2
discord.c-1840a7c2ed24c2e4fa731430d36a6c1da597b8ee.tar.lz
discord.c-1840a7c2ed24c2e4fa731430d36a6c1da597b8ee.tar.xz
discord.c-1840a7c2ed24c2e4fa731430d36a6c1da597b8ee.tar.zst
discord.c-1840a7c2ed24c2e4fa731430d36a6c1da597b8ee.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cb37143..de9b211 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,7 @@
default:
- gcc -g -Ilib -Isrc -I. -pthread src/api.c -lcurl -odiscord.c
+ gcc -Wall -pedantic -g -Ilib -Isrc -I. -pthread src/api.c -lcurl -lncurses -lform -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
- wget https://raw.githubusercontent.com/antirez/linenoise/master/linenoise.h -O lib/linenoise.h
- wget https://raw.githubusercontent.com/antirez/linenoise/master/linenoise.c -O lib/linenoise.c
clean:
- rm lib/cJSON.c lib/cJSON.h lib/linenoise.h lib/linenoise.c
+ rm lib/cJSON.c lib/cJSON.h