qfedu-basic-level/day13/documentRecognition/Makefile

20 lines
644 B
Makefile
Raw Permalink Normal View History

2023-08-14 17:21:53 +08:00
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/
idCard:
$(cc) idCard.cpp -o idCard $(cflags) -std=c++14
bankCard:
$(cc) bankCard.cpp -o bankCard $(cflags) -std=c++14
driverLicense:
$(cc) driverLicense.cpp -o driverLicense $(cflags) -std=c++14
clean:
rm *.o idCard bankCard driverLicense -rf