diff --git a/Makefile b/Makefile index 6106cc7..3b8fd32 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CC ?= cc -CFLAGS = -g -std=c99 -Wall -Werror=implicit-function-declaration -Wno-unused-variable -I ./libs/ -I ./include/ -SRC = $(wildcard src/*.c) libs/cJSON/cJSON.c +CFLAGS = -g -std=c99 -Wall -Werror=implicit-function-declaration -Wno-unused-variable -I ./libs/ -I ./include/ $(shell pkg-config --cflags libcurl) +SRC = $(wildcard src/*.c) libs/cjson/cJSON.c OBJ = $(patsubst %.c,%.o,$(SRC)) TARGET = libmastodont.a # shared AR = ar diff --git a/libs/cJSON/cJSON.c b/libs/cjson/cJSON.c similarity index 100% rename from libs/cJSON/cJSON.c rename to libs/cjson/cJSON.c diff --git a/libs/cJSON/cJSON.h b/libs/cjson/cJSON.h similarity index 100% rename from libs/cJSON/cJSON.h rename to libs/cjson/cJSON.h