]> Joshua Wise's Git repositories - firearm.git/blob - tests/Makefile
anulib: move the stack ALL the way up
[firearm.git] / tests / Makefile
1 all: costas.hex
2
3 %.o: %.c
4         arm-elf-gcc -c -o $@ $<
5
6 %.o: %.S
7         arm-elf-gcc -c -o $@ $<
8
9 %.elf: %.o anulib.o script.lds
10         arm-elf-ld -o $@ -T script.lds anulib.o $<
11
12 %.bin: %.elf
13         arm-elf-objcopy $< -O binary $@
14
15 %.hex: %.bin
16         xxd -ps -c 4 $< | sed -e 's/\(..\)\(..\)\(..\)\(..\)/\4\3\2\1/' > $@
This page took 0.026895 seconds and 4 git commands to generate.