mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
Update Makefile to add command line parameters
Parameters are additional include and lib directories for future useage. e.g. make INCLUDE="-I/foo" LIB="-L/bar" Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -62,14 +62,16 @@ $(SUBDIR)/MQTTSNUnsubscribeServer.c
|
|||||||
CXX := g++
|
CXX := g++
|
||||||
CPPFLAGS +=
|
CPPFLAGS +=
|
||||||
|
|
||||||
INCLUDES += -I$(SRCDIR) \
|
INCLUDE :=
|
||||||
|
INCLUDES += $(INCLUDE) -I$(SRCDIR) \
|
||||||
-I$(SRCDIR)/$(OS) \
|
-I$(SRCDIR)/$(OS) \
|
||||||
-I$(SRCDIR)/$(OS)/$(SENSORNET) \
|
-I$(SRCDIR)/$(OS)/$(SENSORNET) \
|
||||||
-I$(SUBDIR) \
|
-I$(SUBDIR) \
|
||||||
-I$(SRCDIR)/$(TEST)
|
-I$(SRCDIR)/$(TEST)
|
||||||
|
|
||||||
DEFS :=
|
DEFS :=
|
||||||
LIBS += -L/usr/local/lib
|
LIB :=
|
||||||
|
LIBS += $(LIB) -L/usr/local/lib
|
||||||
LDFLAGS :=
|
LDFLAGS :=
|
||||||
CXXFLAGS := -Wall -O3 -std=c++11
|
CXXFLAGS := -Wall -O3 -std=c++11
|
||||||
LDADD := -lpthread -lssl -lcrypto -lrt
|
LDADD := -lpthread -lssl -lcrypto -lrt
|
||||||
|
|||||||
Reference in New Issue
Block a user