so my project structure is like this
so when i compile using particle compile electron --target 1.0.0 it works perfectly i get this binaries its done.
now i want to compile my project using local gcc. so i did the setup and include project directory using APPDIR=“Firmware/”
and then from module i did whole make thing
make clean all PLATFORM=electron APPDIR=“Firmware/”
but here is the error.
build.mk:65: *** “No sources found in Firmware”.Stop.
and then i rename it to cpp so it got SparkJson.h not found but its because i added it for cloud compile to project.properties. so source file is there but only .cpp and .h files are recognize by offline compiler.
it seems like it does not recognize .ino file.
how can i compile .ino file because its a big firmware to convert from .ino to cpp i want to compile ino from local compiler.
i know about “particle preprocess” command but i want to add this functionality in makefile