URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [sw/] [basic/] [Makefile] - Rev 40
Go to most recent revision | Compare with Previous | Blame | View Log
include ../support/Makefile.inc
all: basic-nocache basic-icdc basic-ic basic-dc
basic-nocache: basic.o ../support/reset-nocache.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
basic-icdc: basic.o ../support/reset-icdc.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
basic-ic: basic.o ../support/reset-ic.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
basic-dc: basic.o ../support/reset-dc.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
basic.o: basic.S
$(OR32_TOOL_PREFIX)-gcc -mhard-mul -O0 $? -c -o $@
clean:
rm -f *.o *.or32 *.log *.bin *.hex
Go to most recent revision | Compare with Previous | Blame | View Log