makefile for USB bootloader for use with eclipse and openocd

I am trying to load the sd bootloader software onto an LPC-H2148 header board using the ARM-USB-OCD Jtag programmer with the provided eclipse toolchain. I managed to load the blinky light demo but have had less success trying to get the bootloader programmed. has anyone done this successfully and do you have a makefile that you can share?

Thanks