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

Subversion Repositories wb2axip

[/] [wb2axip/] [trunk/] [Makefile] - Blame information for rev 15

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

Line No. Rev Author Line
1 3 dgisselq
################################################################################
2
##
3
## Filename:    Makefile
4
##
5
## Project:     Pipelined Wishbone to AXI converter
6
##
7
## Purpose:     A master project makefile.  It tries to build all targets
8
##              within the project, mostly by directing subdirectory makes.
9
##
10
## Targets:
11
##
12
## Creator:     Dan Gisselquist, Ph.D.
13
##              Gisselquist Technology, LLC
14
##
15
################################################################################
16
##
17
## Copyright (C) 2015-2016, Gisselquist Technology, LLC
18
##
19
## This program is free software (firmware): you can redistribute it and/or
20
## modify it under the terms of  the GNU General Public License as published
21
## by the Free Software Foundation, either version 3 of the License, or (at
22
## your option) any later version.
23
##
24
## This program is distributed in the hope that it will be useful, but WITHOUT
25
## ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
26
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
27
## for more details.
28
##
29
## License:     GPL, v3, as defined and found on www.gnu.org,
30
##              http:##www.gnu.org/licenses/gpl.html
31
##
32
##
33
################################################################################
34
##
35
##
36
.PHONY: all
37
all:    archive rtl bench
38
# all:  verilated sw bench bit
39
#
40
# Could also depend upon load, if desired, but not necessary
41
BENCH := `find bench -name Makefile` `find bench -name "*.cpp"` `find bench -name "*.h"`
42
RTL   := `find rtl -name "*.v"` `find rtl -name Makefile`
43
NOTES := `find . -name "*.txt"` `find . -name "*.html"`
44
YYMMDD:=`date +%Y%m%d`
45
 
46
.PHONY: archive
47
archive:
48
        tar --transform s,^,$(YYMMDD)-wb2axi/, -chjf $(YYMMDD)-wb2axi.tjz $(BENCH) $(RTL) $(NOTES)
49
 
50
.PHONY: verilated
51
verilated:
52
        cd rtl ; $(MAKE) --no-print-directory
53
 
54
.PHONY: rtl
55
rtl: verilated
56
 
57
.PHONY: bench
58
bench: rtl
59
        cd bench/cpp ; $(MAKE) --no-print-directory
60
 
61
.PHONY: doc
62
doc:
63
        cd doc ; $(MAKE) --no-print-directory
64
 
65
 

powered by: WebSVN 2.1.0

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