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

Subversion Repositories qspiflash

[/] [qspiflash/] [trunk/] [Makefile] - Blame information for rev 16

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 dgisselq
################################################################################
2
##
3
## Filename:    Makefile
4
##
5
## Project:     Wishbone Controlled Quad SPI Flash Controller
6
##
7
## Purpose:     This is the master Makefile for the project.  It coordinates
8
##              the build of a Verilator test, "proving" that this core works
9
##      (to the extent that any simulated test "proves" anything).  This
10
##      make file depends upon the proper setup of Verilator.
11
##
12
## Creator:     Dan Gisselquist, Ph.D.
13
##              Gisselquist Technology, LLC
14
##
15
################################################################################
16
##
17
## Copyright (C) 2015-2017, 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
## You should have received a copy of the GNU General Public License along
30
## with this program.  (It's in the $(ROOT)/doc directory.  Run make with no
31
## target there if the PDF file isn't present.)  If not, see
32
##  for a copy.
33
##
34
## License:     GPL, v3, as defined and found on www.gnu.org,
35
##              http://www.gnu.org/licenses/gpl.html
36
##
37
##
38
################################################################################
39
##
40
##
41
all: rtl bench test
42
SUBMAKE := $(MAKE) --no-print-directory -C
43
 
44
.PHONY: doc
45
doc:
46
        $(SUBMAKE) doc
47
 
48
.PHONY: rtl
49
rtl:
50
        $(SUBMAKE) rtl
51
 
52
.PHONY: bench
53
bench: rtl
54
        $(SUBMAKE) bench/cpp
55
 
56
.PHONY: test
57
test: bench
58
        $(SUBMAKE) bench/cpp test
59
 
60
.PHONY: clean
61
clean:
62
        $(SUBMAKE) rtl          clean
63
        $(SUBMAKE) bench/cpp    clean
64
        $(SUBMAKE) doc          clean
65
 
66
 

powered by: WebSVN 2.1.0

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