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

Subversion Repositories wdsp

[/] [wdsp/] [trunk/] [sw/] [utils/] [Makefile] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 parrado
#*$$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
PROGRAMS = bin2c bin2srec bin2flimg bin2hex bin2vmem
46
# NB: 'loader' not in that list
47
 
48
CC     = gcc
49
CFLAGS = -O2 -Wall
50
 
51
% : %.c
52
        @/bin/rm -f $@
53
        $(CC) -o $@ $(CFLAGS) $<
54
 
55
all: $(PROGRAMS) or32-idecode
56
 
57
# redundant stanza:
58
loader: loader.c
59
        $(CC) -o $@ $(CFLAGS) $<
60
 
61
.PHONY or32-idecode:
62
or32-idecode:
63
        $(MAKE) -C or32-idecode
64
 
65
clean:
66
        /bin/rm -f $(PROGRAMS) *~ *.bak
67
        $(MAKE) -C ./or32-idecode clean

powered by: WebSVN 2.1.0

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