Generate *.elf, *.bin to build/ and replace main with $(TARGET) in Makefile