From a9f570f988e87599103a222ff3cd02b86cbbcdb1 Mon Sep 17 00:00:00 2001 From: sijanec Date: Tue, 16 Mar 2021 14:29:51 +0100 Subject: finnaly compiles --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3