all: homeSweetHome.tns %.o: %.S nspire-as -Wall -W -marm -O3 -c $< %.bin: %.o "$(shell (which arm-elf-objcopy arm-none-eabi-objcopy arm-linux-gnueabi-objcopy | head -1) 2>/dev/null)" -O binary $< $@ %.tns: %.bin cat h $< > $@ .PHONY: clean clean: rm -f *.o *.bin *.tns