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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [support/] [Makefile] - Rev 36

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

include Makefile.inc

all: libsupport.a reset-nocache.o reset-ic.o reset-dc.o reset-icdc.o

libsupport.a: support.o int.o except.o
        $(OR32_TOOL_PREFIX)-ar cru libsupport.a support.o except.o int.o
        $(OR32_TOOL_PREFIX)-ranlib libsupport.a

support.o: support.c
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 -c -o $@ $?

reset-nocache.o: reset.S
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 -c -DIC=0 -DDC=0 -o $@ $?

reset-dc.o: reset.S
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 -c -DIC=0 -DDC=1 -o $@ $?

reset-ic.o: reset.S
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 -c -DIC=1 -DDC=0 -o $@ $?

reset-icdc.o: reset.S
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 -c -DIC=1 -DDC=1 -o $@ $?

except.o: except.S
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 -c -o $@ $?

int.o: int.c
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 -c -o $@ $?

clean:
        rm -rf *.o *.a

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

powered by: WebSVN 2.1.0

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