Compile and build with batch files

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by andrealedcom on Mon Feb 22 05:56:58 MST 2016
Hi everybody,

I've got a question about own makefile and compiling/building in general.
I've an application and some libraries codes written to be programmed on a LPC1112 and what I want to do is to allow not-programmer user to compile and build all these codes without using LPCXpresso user interface, but simply calling a batch file which does everything, giving as result the .a object for libraries and .hex (or .bin) for main application.

Now, to do what I've explained just before, should I write a "standard" C/C++ makefile and recall it in my script? Or, since I'm the programmer, I can build on my own all these codes and keep the automatic generated makefiles by LPCXpresso, recalling that ones in my script?

Hope I've been clear

Many thanks