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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [utils/] [or32-idecode/] [Makefile] - Rev 37

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


CC=gcc
APP=or32-idecode

all: or32-opc.o or32-dis.o
        $(CC) $^ -o $(APP)
        @echo
        @echo "Build complete"
        @echo "Run the program with an example: ./$(APP) < example_input"
        @echo
        @echo "For usage: ./$(APP) -h"
        @echo
%.o: %.c
        $(CC) -O2 -c $*.c -o $*.o

clean:
        rm -f *.o $(APP) *~

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.