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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [uart/] [Makefile] - Blame information for rev 25

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

Line No. Rev Author Line
1 25 julius
include ../support/Makefile.inc
2
cases = uart-nocache uart-icdc
3
common = ../support/libsupport.a
4
 
5
all: $(cases)
6
 
7
uart-nocache: uart.o ../support/reset-nocache.o $(common)
8
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32
9
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
10
        ../utils/bin2hex $@.bin > $@.hex
11
 
12
uart-icdc: uart.o ../support/reset-icdc.o
13
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
14
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
15
        ../utils/bin2hex $@.bin > $@.hex
16
 
17
uart.o: uart.c
18
        $(OR32_TOOL_PREFIX)-gcc -O2 $? -c -o $@
19
 
20
clean:
21
        rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt

powered by: WebSVN 2.1.0

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