]> Joshua Wise's Git repositories - firearm.git/blob - tests/Makefile
RegFile: I/O rename
[firearm.git] / tests / Makefile
1 CFLAGS=-mno-thumb-interwork -march=armv4
2
3 all: costas.hex testbench.hex
4
5 %.o: %.c
6         arm-elf-gcc $(CFLAGS) -c -o $@ $<
7
8 %.o: %.S
9         arm-elf-gcc $(CFLAGS) -c -o $@ $<
10
11 %.elf: %.o anulib.o script.lds
12         arm-elf-ld -o $@ -T script.lds anulib.o $<
13
14 %.bin: %.elf
15         arm-elf-objcopy $< -O binary $@
16
17 %.pad.bin: %.bin
18         dd if=$< of=$@ bs=16384 conv=sync
19
20 %.hex: %.bin
21         xxd -ps -c 4 $< | sed -e 's/\(..\)\(..\)\(..\)\(..\)/\4\3\2\1/' > $@
This page took 0.027443 seconds and 4 git commands to generate.