raburton / esp8266

Various bits of code for ESP8266
http://richard.burtons.org/
183 stars 47 forks source link

Simplify build #7

Closed impressiver closed 9 years ago

impressiver commented 9 years ago

Modified and added a top-level Makefile, which keep project configuration in one place and compiles everything with a single command. I'm running OS X, but this should work the same for win/linux/osx.

I wasn't sure what to do for default paths. I made them all relative to the project, but there's not really a "defacto" place for both the official sdk and/or esp-open-sdk. The esp8266.com folks use /opt/Espressif in their installs/examples, and esp-open-sdk keeps things relative to wherever you checked out the repo.

Any thoughts/opinions?

impressiver commented 9 years ago

Ignore the tab formatting for now, I'll get that cleaned up

raburton commented 9 years ago

I like the idea, but overall I think it's made it more complicated than it needs to be. I'll push a version based on your parent makefile, but is a bit simpler. It should still do what you want it to though.