blob: cb37143ec86e46397ca392b27aa9dba459ec592f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
default:
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 lib/linenoise.h lib/linenoise.c
|