OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [except/] [Makefile] - Blame information for rev 45

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 julius
include ../support/Makefile.inc
2
all: except-nocache except-icdc
3
 
4
except-nocache: except_test_s.o except_test.o
5
        $(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-nocache.o except_test_s.o except_test.o ../support/libsupport.a
6
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
7 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
8
        ../utils/bin2vmem $@.bin > $@.vmem
9 25 julius
 
10 45 julius
 
11 25 julius
except-icdc: except_test_s.o except_test.o
12
        $(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-icdc.o except_test_s.o except_test.o ../support/libsupport.a
13
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
14 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
15
        ../utils/bin2vmem $@.bin > $@.vmem
16 25 julius
 
17 45 julius
 
18 25 julius
except_test.o: except_test.c Makefile
19
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -O2 -c -o except_test.o except_test.c -Wall -g -nostdlib -mhard-div
20
 
21
except_test_s.o: except_test_s.S Makefile
22
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except_test_s.o except_test_s.S -Wall -g -nostdlib -mhard-div
23
 
24
except.o: except.S Makefile
25
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except.o except.S  -Wall -g -nostdlib -mhard-div
26
 
27
clean:
28
        rm -rf *.o *.bin *.hex *.srec *.or32 *.log stdout.txt
29
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.