Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a master Makefile, and subdir makefile structure
- Loading branch information
Showing
3 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
############################################################################### | ||
## | ||
## Filename: Makefile | ||
## | ||
## Project: DSP Filtering Example Project | ||
## | ||
## Purpose: This is the master project makefile, building simulation | ||
## components for all of the cores that exist in bench/cpp. | ||
## | ||
## Targets: The default target, all, builds all subdirectory targets. | ||
## | ||
## Creator: Dan Gisselquist, Ph.D. | ||
## Gisselquist Technology, LLC | ||
## | ||
################################################################################ | ||
## | ||
## Copyright (C) 2018, Gisselquist Technology, LLC | ||
## | ||
## This program is free software (firmware): you can redistribute it and/or | ||
## modify it under the terms of the GNU General Public License as published | ||
## by the Free Software Foundation, either version 3 of the License, or (at | ||
## your option) any later version. | ||
## | ||
## This program is distributed in the hope that it will be useful, but WITHOUT | ||
## ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or | ||
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
## for more details. | ||
## | ||
## You should have received a copy of the GNU General Public License along | ||
## with this program. (It's in the $(ROOT)/doc directory. Run make with no | ||
## target there if the PDF file isn't present.) If not, see | ||
## <http://www.gnu.org/licenses/> for a copy. | ||
## | ||
## License: GPL, v3, as defined and found on www.gnu.org, | ||
## http://www.gnu.org/licenses/gpl.html | ||
## | ||
################################################################################ | ||
## | ||
## | ||
all: benchcpp | ||
SUBMAKE := make --no-print-directory -C | ||
|
||
rtld: | ||
$(SUBMAKE) rtl | ||
|
||
benchrtl: rtld | ||
$(SUBMAKE) bench/rtl | ||
|
||
benchcpp: benchrtl rtl | ||
$(SUBMAKE) bench/cpp | ||
|
||
formal: rtld | ||
$(SUBMAKE) formal | ||
|
||
clean: | ||
$(SUBMAKE) rtl clean | ||
$(SUBMAKE) bench/rtl clean | ||
$(SUBMAKE) bench/cpp clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters