>For example, you can build Olin's HAL project (see >http://www.embedinc.com/pic/) with the following Makefile, with perhaps >some adjustments in the paths to the tools, depending on where you >installed them. In fact you do not even need to do that. The files include a DOS batch type file which will do all this for you, including invoking the linker and building the hex file. Then you open the hex file in the MPLAB environment and debug it :)) -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.