diff --git a/lib/libmodbus.a b/lib/libmodbus.a new file mode 100644 index 0000000..e71a113 Binary files /dev/null and b/lib/libmodbus.a differ diff --git a/lib/libmodbus.so b/lib/libmodbus.so new file mode 120000 index 0000000..dfc72a1 --- /dev/null +++ b/lib/libmodbus.so @@ -0,0 +1 @@ +libmodbus.so.5.1.0 \ No newline at end of file diff --git a/lib/libmodbus.so.5 b/lib/libmodbus.so.5 new file mode 120000 index 0000000..dfc72a1 --- /dev/null +++ b/lib/libmodbus.so.5 @@ -0,0 +1 @@ +libmodbus.so.5.1.0 \ No newline at end of file diff --git a/lib/libmodbus.so.5.1.0 b/lib/libmodbus.so.5.1.0 new file mode 100755 index 0000000..27a2d7c Binary files /dev/null and b/lib/libmodbus.so.5.1.0 differ diff --git a/lib/libscl_shm.a b/lib/libscl_shm.a new file mode 100644 index 0000000..620632b Binary files /dev/null and b/lib/libscl_shm.a differ diff --git a/src/Makefile b/src/Makefile index 00ff494..9d326da 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,9 +19,9 @@ VER := $(strip $(VER)) MY_CFLAGS = -fmessage-length=0 ifeq ($(PLAT),x86) -MY_LIBS = -lpthread -L../lib -lrt -ldl -lscl_shm -lm -lgo -lmodbus +MY_LIBS = -lpthread -L../lib -lrt -lscl_shm -lmodbus else -MY_LIBS = -L../lib -lpthread -lrt -ldl -lscl_shm -lm -lgo -lmodbus +MY_LIBS = -L../lib -lpthread -lrt -lscl_shm -lmodbus endif # The pre-processor options used by the cpp (man cpp for more). @@ -73,14 +73,14 @@ endif ifeq ($(PLAT),x86) CC = gcc else -CC = /root/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc +CC = arm-linux-gnueabihf-gcc endif # The C++ program compiler. ifeq ($(PLAT),x86) CXX = g++ else -CXX = /root/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ +CXX = arm-linux-gnueabihf-g++ endif # Un-comment the following line to compile C programs as C++ ones. @@ -89,7 +89,7 @@ endif ifeq ($(PLAT),x86) STRIP = strip else -STRIP = /root/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-strip +STRIP = arm-linux-gnueabihf-strip endif # The command used to delete file.