OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [utils/] [or32-idecode/] [Makefile] - Blame information for rev 339

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

Line No. Rev Author Line
1 6 julius
#*$$HEADER*#
2
#******************************************************************************#
3
#*                                                                            *#
4
#*                    H E A D E R   I N F O R M A T I O N                     *#
5
#*                                                                            *#
6
#******************************************************************************#
7
 
8
## Project Name                   : ORPSoC v2
9
## File Name                      : Makefile
10
## Prepared By                    :
11
## Project Start                  :
12
 
13
#*$$COPYRIGHT NOTICE*#
14
#******************************************************************************#
15
#*                                                                            *#
16
#*                      C O P Y R I G H T   N O T I C E                       *#
17
#*                                                                            *#
18
#******************************************************************************#
19
#*
20
#  This library is free software; you can redistribute it and/or
21
#  modify it under the terms of the GNU Lesser General Public
22
#  License as published by the Free Software Foundation;
23
#  version 2.1 of the License, a copy of which is available from
24
#  http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.
25
#
26
#  This library is distributed in the hope that it will be useful,
27
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
28
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
29
#  Lesser General Public License for more details.
30
#
31
#  You should have received a copy of the GNU Lesser General Public
32
#  License along with this library; if not, write to the Free Software
33
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
34
#
35
#*$$DESCRIPTION*#
36
#******************************************************************************#
37
#*                                                                            *#
38
#*                           D E S C R I P T I O N                            *#
39
#*                                                                            *#
40
#******************************************************************************#
41
##
42
## Makefile for the ORPSoC software utilities
43
##
44
 
45
CC=gcc
46
APP=or32-idecode
47
 
48
all: or32-opc.o or32-dis.o
49
        $(CC) $^ -o $(APP)
50
        @echo
51
        @echo "Build complete"
52
        @echo "Run the program with an example: ./$(APP) < example_input"
53
        @echo
54
        @echo "For usage: ./$(APP) -h"
55
        @echo
56
%.o: %.c
57
        $(CC) -O2 -c $*.c -o $*.o
58
 
59
clean:
60
        rm -f *.o $(APP) *~

powered by: WebSVN 2.1.0

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