Makefile

The Makefile for this part of the project looks like this:

GPP = g++ GCC = gcc MAKEDIR = mkdir -p RM = rm AR = ar ROOT = test/node OUTPUT = bmac_esp8266 OUTLIB = lib$(OUTPUT).a INCLUDE = -I $(ROOT)/ \                -I $(ROOT)/SmingCore/ \                -I $(ROOT)/SmingCore/network \                -I $(ROOT)/SmingCore/network/Http \                -I $(ROOT)/SmingCore/network/Http/Websocket \                -I $(ROOT)/SmingCore/network/libmosquitto \                -I $(ROOT)/SmingCore/network/libmosquitto/cpp \                -I $(ROOT)/SmingCore/wiring \                -I $(ROOT)/Libraries/BME280 \                -I $(ROOT)/esp8266/app FLAGS := $(INCLUDE) -g3 -U__STRICT_ANSI__ LIB := -L$(ROOT)/lib -l$(OUTPUT) -lmosquittopp -lmosquitto  -lnymphrpc \          -lPocoNet -lPocoUtil -lPocoFoundation -lPocoJSON -lstdc++fs \          -lssl -lcrypto LIB_WIN :=  -lws2_32 ifeq ($(OS),Windows_NT) ...

Get Hands-On Embedded Programming with C++17 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.