URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [sw/] [dhry/] [Makefile] - Rev 25
Go to most recent revision | Compare with Previous | Blame | View Log
include ../support/Makefile.inc
#ADDED BY ME
cases = dhry-nocache-O0 dhry-nocache-O2 dhry-icdc-O2
#common = ../support/libsupport.a
common = ../support/libsupport.a /opt/$(OR32_TOOL_PREFIX)/lib/gcc/$(OR32_TOOL_PREFIX)/4.2.2/libgcc.a
all: $(cases)
dhry-nocache-O0: dhry-O0.o ../support/reset-nocache.o $(common)
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
dhry-nocache-O2: dhry-O2.o ../support/reset-nocache.o $(common)
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
dhry-icdc-O2: dhry-O2.o ../support/reset-icdc.o $(common)
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
dhry-O0.o: dhry.c
$(OR32_TOOL_PREFIX)-gcc -I../support -O0 $? -mhard-div -c -o $@
dhry-O2.o: dhry.c
$(OR32_TOOL_PREFIX)-gcc -I../support -O2 $? -mhard-div -c -o $@
clean:
rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt
Go to most recent revision | Compare with Previous | Blame | View Log