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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [utils/] [or32-idecode/] [Makefile] - Blame information for rev 31

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

Line No. Rev Author Line
1 27 julius
 
2
CC=gcc
3
APP=or32-idecode
4
 
5
all: or32-opc.o or32-dis.o
6
        $(CC) $^ -o $(APP)
7
        @echo
8
        @echo "Build complete"
9
        @echo "Run the program with an example: ./$(APP) < example_input"
10
        @echo
11
        @echo "For usage: ./$(APP) -h"
12
        @echo
13
%.o: %.c
14 31 julius
        $(CC) -O2 -c $*.c -o $*.o
15 27 julius
 
16
clean:
17
        rm -f *.o $(APP) *~

powered by: WebSVN 2.1.0

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