Add support for CellularRAM on Nexys2.
[firearm.git] / tests / Makefile
... / ...
CommitLineData
1CFLAGS=-mno-thumb-interwork -march=armv4
2
3all: costas.hex testbench.pad.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.015713 seconds and 4 git commands to generate.