forked from ben-marshall/verilog-parser
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding top-level "master" make file and CTest integration
On branch master Your branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local commits) Changes to be committed: modified: .travis.yml modified: CMakeLists.txt new file: Makefile modified: README.md modified: bin/project.sh modified: docs/CMakeLists.txt modified: src/CMakeLists.txt
- Loading branch information
1 parent
22ad024
commit 5024eec
Showing
7 changed files
with
113 additions
and
49 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
# | ||
# This is a simple top-level wrapper makefile for the rest of the project. | ||
# | ||
|
||
all: docs debug release coverage | ||
|
||
.PHONY: docs setup clean | ||
|
||
setup: | ||
./bin/project.sh | ||
|
||
docs: | ||
$(MAKE) -C ./build/debug -B verilogparser-docs | ||
|
||
debug: | ||
$(MAKE) -C ./build/debug parser | ||
|
||
release: | ||
$(MAKE) -C ./build/release parser | ||
|
||
coverage: | ||
$(MAKE) -C ./build/coverage parser | ||
|
||
clean: | ||
$(MAKE) -C ./build/coverage clean | ||
$(MAKE) -C ./build/debug clean | ||
$(MAKE) -C ./build/release clean | ||
rm -rf ./build/docs | ||
|
||
|
||
test-all: test-debug test-release test-coverage | ||
|
||
test-debug: debug | ||
$(MAKE) -C ./build/debug test | ||
|
||
test-release: release | ||
$(MAKE) -C ./build/release test | ||
|
||
test-coverage: coverage | ||
$(MAKE) -C ./build/coverage test |
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
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