-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated CentOS repo in README.md - Whitespace fixes
- Loading branch information
1 parent
41f8417
commit be6aafd
Showing
3 changed files
with
26 additions
and
26 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 |
---|---|---|
@@ -1,49 +1,48 @@ | ||
## | ||
# This Makefile is used to drive building of Debug and Release | ||
# targets of CMake | ||
# This Makefile is used to drive building of Debug and Release targets of CMake | ||
## | ||
MAKEFLAGS += -s | ||
|
||
all: release | ||
ci: debug release test | ||
ci: debug release test | ||
|
||
help: | ||
@echo " release: Run a release build" | ||
@echo " debug: Run a debug build" | ||
@echo " lint: Lint check all source-code" | ||
@echo " test: Build and run tests" | ||
@echo " clean: Clean all build output" | ||
@echo "rebuild_cache: Rebuild all CMake caches" | ||
@echo " release: Run a release build" | ||
@echo " debug: Run a debug build" | ||
@echo " lint: Lint check all source-code" | ||
@echo " test: Build and run tests" | ||
@echo " clean: Clean all build output" | ||
@echo "rebuild_cache: Rebuild all CMake caches" | ||
|
||
rebuild_cache: build/Debug build/Release | ||
@$(MAKE) -C build/Debug rebuild_cache | ||
@$(MAKE) -C build/Release rebuild_cache | ||
@$(MAKE) -C build/Debug rebuild_cache | ||
@$(MAKE) -C build/Release rebuild_cache | ||
|
||
debug: build/Debug | ||
@echo "[DEBUG]" | ||
@$(MAKE) -C build/Debug | ||
@echo "[DEBUG]" | ||
@$(MAKE) -C build/Debug | ||
|
||
release: build/Release | ||
@echo "[RELEASE]" | ||
@$(MAKE) -C build/Release | ||
@echo "[RELEASE]" | ||
@$(MAKE) -C build/Release | ||
|
||
package: build/Release | ||
@echo "[PACKAGE] Release" | ||
@$(MAKE) -C build/Release package | ||
@echo "[PACKAGE] Release" | ||
@$(MAKE) -C build/Release package | ||
|
||
test: debug | ||
@$(MAKE) -C build/Debug test | ||
@$(MAKE) -C build/Debug test | ||
|
||
build/Debug: | ||
@mkdir -p $@ | ||
@cd $@ && cmake -DCMAKE_BUILD_TYPE=Debug $(CMAKEFLAGS) ../../ | ||
@mkdir -p $@ | ||
@cd $@ && cmake -DCMAKE_BUILD_TYPE=Debug $(CMAKEFLAGS) ../../ | ||
|
||
build/Release: | ||
@mkdir -p $@ | ||
@cd $@ && cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release $(CMAKEFLAGS) ../../ | ||
@mkdir -p $@ | ||
@cd $@ && cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release $(CMAKEFLAGS) ../../ | ||
|
||
clean: | ||
@echo "[CLEAN]" | ||
@rm -Rf build | ||
@echo "[CLEAN]" | ||
@rm -Rf build | ||
|
||
.PHONY: 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