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++
|
||||
CPPFLAGS +=
|
||||
|
||||
INCLUDES += -I$(SRCDIR) \
|
||||
INCLUDE :=
|
||||
INCLUDES += $(INCLUDE) -I$(SRCDIR) \
|
||||
-I$(SRCDIR)/$(OS) \
|
||||
-I$(SRCDIR)/$(OS)/$(SENSORNET) \
|
||||
-I$(SUBDIR) \
|
||||
-I$(SRCDIR)/$(TEST)
|
||||
|
||||
DEFS :=
|
||||
LIBS += -L/usr/local/lib
|
||||
LIB :=
|
||||
LIBS += $(LIB) -L/usr/local/lib
|
||||
LDFLAGS :=
|
||||
CXXFLAGS := -Wall -O3 -std=c++11
|
||||
LDADD := -lpthread -lssl -lcrypto -lrt
|
||||
|
||||
Reference in New Issue
Block a user