all:
	arm-thumb-elf-gcc -o ch4a.elf ch4a.c -lm -T lnkscript
	arm-thumb-elf-objcopy -O binary ch4a.elf ch4a.gba

clean:
	rm -f *~ ch4a.gba ch4a.elf
