]> Joshua Wise's Git repositories - firearm.git/blobdiff - tests/Makefile
Terminal: Fix to have non-blocking assigns in flop blocks.
[firearm.git] / tests / Makefile
index 62be4ba23486dd80bf6df7d65687bd1d1f2cbd6e..36682afe064ab529f344f1b45965ada141194459 100644 (file)
@@ -1,10 +1,10 @@
 all: costas.hex
 
 %.o: %.c
-       arm-elf-gcc -c -o $@ $<
+       arm-elf-gcc $(CFLAGS) -c -o $@ $<
 
 %.o: %.S
-       arm-elf-gcc -c -o $@ $<
+       arm-elf-gcc $(CFLAGS) -c -o $@ $<
 
 %.elf: %.o anulib.o script.lds
        arm-elf-ld -o $@ -T script.lds anulib.o $<
@@ -12,5 +12,8 @@ all: costas.hex
 %.bin: %.elf
        arm-elf-objcopy $< -O binary $@
 
+%.pad.bin: %.bin
+       dd if=$< of=$@ bs=16384 conv=sync
+
 %.hex: %.bin
        xxd -ps -c 4 $< | sed -e 's/\(..\)\(..\)\(..\)\(..\)/\4\3\2\1/' > $@
This page took 0.022897 seconds and 4 git commands to generate.