Browse Source

use local cJSON dep

FossilOrigin-Name: a2ec8515054a4e6abbdb811590b499c9b5948037f88a9858a8046418026db090
master
nekobit 2 months ago
parent
commit
8e708a1366
  1. 4
      Makefile
  2. 0
      libs/cjson/cJSON.c
  3. 0
      libs/cjson/cJSON.h

4
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

0
libs/cJSON/cJSON.c → libs/cjson/cJSON.c

0
libs/cJSON/cJSON.h → libs/cjson/cJSON.h

Loading…
Cancel
Save