17 lines
559 B
Makefile
17 lines
559 B
Makefile
cc = g++
|
|
cflags = -Wall -lssl -lcrypto -lcurl -ljsoncpp
|
|
cflags += -I/home/flykhan/.tools/openssl_build/include/
|
|
cflags += -I/home/flykhan/.tools/curl/include/
|
|
cflags += -I/home/flykhan/.tools/jsoncpp-Sandbox/jsoncpp-build/include/
|
|
cflags += -L/home/flykhan/.tools/openssl_build/lib/
|
|
cflags += -L/home/flykhan/.tools/curl/lib/
|
|
cflags += -L/home/flykhan/.tools/jsoncpp-Sandbox/jsoncpp-build/lib/
|
|
|
|
main:
|
|
$(cc) main.cpp -o main $(cflags) -std=c++14
|
|
|
|
jsonTypeShow:
|
|
$(cc) jsonTypeShow.cpp -o jsonTypeShow $(cflags) -std=c++14
|
|
|
|
clean:
|
|
rm *.o main jsonTypeShow -rf
|