# make
../Makefile:124: warning: overriding commands for target `clean'
Makefile:162: warning: ignoring old commands for target `clean'
make[1]: Entering directory `/home/lcb/esp_sources/nodemcu-firmware/app'
../../Makefile:124: warning: overriding commands for target `clean'
../Makefile:162: warning: ignoring old commands for target `clean'
make[2]: Entering directory `/home/lcb/esp_sources/nodemcu-firmware/app/user'
../../../Makefile:124: warning: overriding commands for target `clean'
../../Makefile:162: warning: ignoring old commands for target `clean'
DEPEND: /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH user_main.c
user_main.c:11:17: fatal error: lua.h: No such file or directory
#include "lua.h"
^
compilation terminated.
/opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -o .output/eagle/debug/obj/user_main.o -c user_main.c
user_main.c:11:17: fatal error: lua.h: No such file or directory
#include "lua.h"
^
compilation terminated.
I'm using the latest version of the open SDK build script for all the tools (And have even completely rebuilt it from a fresh clone), and the latest git for nodemcu. I've tried messing around with the Makefile but kept running into problems because of the tricky way they inherit values within all the nested Makefiles, and I could never make it change CFLAGS/CCFLAGS to manually include the app/XXX directories for headers. I've attached the output from a debug run of make. Please let me know if you have any suggestions or I've omitted anything important.
Best wishes,
Larry