13 lines
478 B
Makefile
13 lines
478 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: main.cpp
|
|
$(cc) main.cpp -o main $(cflags) -std=c++14
|
|
clean:
|
|
rm *.o main -rf
|