Waf conversion: Convert examples-v2/led/complex1
completed by: Chirayu Desai
mentors: Chris Johns, Gedare
First complete one of the Getting Started tasks.
This task assists the effort of converting the build system for the RTEMS examples-v2.git repository of sample applications from using a set of custom Makefiles to using Waf. Follow the instructions given in the RTEMS GoogleCodeInProjects Wiki page for the directory: examples-v2/led/complex1. You will upload a patch file containing the modifications you make. Please also submit your work as a pull request on GitHub.
For this task you will need to figure out how to make waf invoke the C++ compiler to build a cxxprogram rather than a cprogram. You will also need to make the recurse() call into complex1 dependent on whether or not POSIX is enabled.