To build: ESP_HOME=path-to/esp-open-sdk SMING_HOME=path-to/Sming/Sming USER_CFLAGS='-DWIFI_SSID=\"ssid\" -DWIFI_PWD=\"password\" -DMQTT_HOST=\"mqtt host address\"' make