summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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