use Conan PM
This commit is contained in:
parent
008cb237bf
commit
0ddf1ef1d7
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
conan.lock
|
||||||
|
conanbuild*
|
||||||
|
conaninfo.txt
|
||||||
|
graph_info.json
|
6
Makefile
6
Makefile
@ -1,3 +1,5 @@
|
|||||||
|
include conanbuildinfo.mak
|
||||||
|
|
||||||
CC = clang
|
CC = clang
|
||||||
CFLAGS = -O2
|
CFLAGS = -O2
|
||||||
LIBS = -lcjson
|
LIBS = -lcjson
|
||||||
@ -5,7 +7,9 @@ LIBS = -lcjson
|
|||||||
all: make-libs-list
|
all: make-libs-list
|
||||||
|
|
||||||
make-libs-list:
|
make-libs-list:
|
||||||
$(CC) $(CFLAGS) make-libs-list.c $(LIBS) -o $@
|
$(CC) $(CFLAGS) make-libs-list.c \
|
||||||
|
$(LIBS) -I$(CONAN_INCLUDE_DIRS_CJSON) -L$(CONAN_LIB_DIRS_CJSON) \
|
||||||
|
-o $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm make-libs-list
|
rm make-libs-list
|
||||||
|
5
conanfile.txt
Normal file
5
conanfile.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[requires]
|
||||||
|
cjson/1.7.15
|
||||||
|
|
||||||
|
[generators]
|
||||||
|
make
|
Loading…
Reference in New Issue
Block a user