summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 253209f..cb37143 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
default:
- gcc -g -Ilib -Isrc -I. src/api.c -lcurl -odiscord.c
+ gcc -g -Ilib -Isrc -I. -pthread src/api.c -lcurl -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
+ rm lib/cJSON.c lib/cJSON.h lib/linenoise.h lib/linenoise.c