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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [basic/] [Makefile] - Blame information for rev 27

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

Line No. Rev Author Line
1 25 julius
 
2
include ../support/Makefile.inc
3
all: basic-nocache basic-icdc basic-ic basic-dc
4
 
5
 
6
basic-nocache: basic.o ../support/reset-nocache.o
7
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
8
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
9
        ../utils/bin2hex $@.bin > $@.hex
10
 
11
basic-icdc: basic.o ../support/reset-icdc.o
12
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
13
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
14
        ../utils/bin2hex $@.bin > $@.hex
15
 
16
basic-ic: basic.o ../support/reset-ic.o
17
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
18
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
19
        ../utils/bin2hex $@.bin > $@.hex
20
 
21
basic-dc: basic.o ../support/reset-dc.o
22
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
23
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
24
        ../utils/bin2hex $@.bin > $@.hex
25
 
26
basic.o: basic.S
27
        $(OR32_TOOL_PREFIX)-gcc -O0 $? -c -o $@
28
 
29
clean:
30
        rm -f *.o *.or32 *.log *.bin *.hex

powered by: WebSVN 2.1.0

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