URL
https://opencores.org/ocsvn/wdsp/wdsp/trunk
Subversion Repositories wdsp
[/] [wdsp/] [trunk/] [sw/] [FFT1024/] [Makefile] - Rev 5
Compare with Previous | Blame | View Log
include ../support/Makefile.inc
cases = fft-nocache fft-icdc
common = ../support/libsupport.a ../support/except.o
all: $(cases)
fft-nocache: int2str.o fft.o ../support/reset-nocache.o $(common)
$(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
../utils/bin2vmem $@.bin > $@.vmem
fft-icdc: int2str.o fft.o ../support/reset-icdc.o
$(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
../utils/bin2vmem $@.bin > $@.vmem
fft.o: FFT.c
$(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $? -c -o $@
int2str.o: int2str.c
$(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $? -c -o $@