all: aica_firmware.bin
aica_firmware.bin: prog.elf
- $(DC_ARM_OBJCOPY) -O binary prog.elf aica_firmware.bin
+ $(DC_ARM_OBJCOPY) -O binary prog.elf aica_firmware.bin
prog.elf: crt0.o main.o aica.o
- $(DC_ARM_CC) -Wl,-Ttext,0x00000000,-Map,prog.map,-N -nostartfiles -nostdlib -e reset -o prog.elf crt0.o main.o aica.o -lgcc
+ $(DC_ARM_CC) -Wl,-Ttext,0x00000000,-Map,prog.map,-N -nostartfiles -nostdlib -e reset -o prog.elf crt0.o main.o aica.o -lgcc
%.o: %.c
- $(DC_ARM_CC) $(DC_ARM_CFLAGS) -c $< -o $@
+ $(DC_ARM_CC) $(DC_ARM_CFLAGS) -c $< -o $@
%.o: %.s
- $(DC_ARM_AS) $(DC_ARM_AFLAGS) $< -o $@
+ $(DC_ARM_AS) $(DC_ARM_AFLAGS) $< -o $@
clean:
- -rm -f *.o *.srec *.elf 1ST_READ.BIN prog.bin *.bck prog.map aica_firmware.bin
+ -rm -f *.o *.srec *.elf 1ST_READ.BIN prog.bin *.bck prog.map aica_firmware.bin