summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-08-13 08:02:32 -0500
committerJeff Hatch <jhatch@multitech.com>2019-08-13 08:02:32 -0500
commit07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8 (patch)
treed1b30c78bbb2e81576cf193a7be809c0a2e0676b /Makefile
parentf6f7d0e174d2bf5eb4494e2508c17d3d7fbdc4e9 (diff)
parent4e5c4eb9d3b9a8974429810ebe5afc3387753643 (diff)
downloadlibmts-io-07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8.tar.gz
libmts-io-07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8.tar.bz2
libmts-io-07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8.zip
Merge branch 'MTX-2891-mpower-2g-3g-4g' into 'master'
Mtx 2891 mpower 2g 3g 4g See merge request !2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8472075..8e71154 100644
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,7 @@ OBJS += \
src/MTS_IO_SerialConnection.o
CC := $(CXX)
-#-Werror
-CXXFLAGS += -Wall -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
+CXXFLAGS += -Wall -Werror -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
CPPFLAGS += -I=/usr/include/jsoncpp -Iinclude
LDFLAGS += -s -shared -Wl,-soname,$(APPNAME).so.0
@@ -54,7 +53,7 @@ $(APPNAME).a: $(OBJS)
$(AR) -rs $@ $?
$(SONAME): $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $? $(LDLIBS)
+ $(CC) $(LDFLAGS) -o $@ $+ $(LDLIBS)
# Handle header dependencies
DEPS = $(OBJS:.o=.d)