多源文件 + 第三方库
testApp:testApp.o UdpSender.o
arm-linux-gnueabihf-g++ -o testApp testApp.o UdpSender.o -L ./test libi2csmbus.so libads1115.so libHalAPI.so libModuleSdk.so -lpthread --std=gnu++11
testApp.o: testApp.cpp
arm-linux-gnueabihf-g++ -c testApp.cpp -I ./include
UdpSender.o:UdpSender.h UdpSender.cpp
arm-linux-gnueabihf-g++ -c UdpSender.cpp
clean:
rm testApp testApp.o UdpSender.o