Skip to content

Commit

Permalink
Makefile to use all cores on build
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Jan 5, 2024
1 parent 3dbf65d commit ab38554
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ gen-ui-class: ## generate UI C++ class skeleton: CLASS_NAME=My_Class

../app/mindforger:
@echo "Building PRODUCTION MindForger executable..."
cd .. && qmake -r mindforger.pro && make -j 7 ; cd ..
cd .. && qmake -r mindforger.pro && make -j ; cd ..
@echo "If build succeeded, then MindForger executable can be found in:\n app/mindforger"
ls -al ../app/mindforger

Expand All @@ -99,7 +99,7 @@ build: clean-app ../app/mindforger ## build production MindForger application bi
.PHONY: build-dev
build-dev: clean-app ## build development MindForger application binary
@echo "Building DEV MindForger executable..."
cd .. && qmake -r mindforger.pro DEFINES+=DO_MF_DEBUG && make -j 7 ; cd ..
cd .. && qmake -r mindforger.pro DEFINES+=DO_MF_DEBUG && make -j ; cd ..
@echo "If build succeeded, then MindForger executable can be found in:\n app/mindforger"
ls -al ../app/mindforger

Expand All @@ -110,15 +110,15 @@ build-dev: clean-app ## build development MindForger application binary
.PHONY: build-rc
build-rc: clean-app ## build RC MindForger application binary
@echo "MindForger RC build..."
cd .. && qmake CONFIG+=mfrc -r mindforger.pro && make -j 7
cd .. && qmake CONFIG+=mfrc -r mindforger.pro && make -j
@echo "If RC build succeeded, then MindForger executable can be found in:\n app/mindforger"
ls -al ../app/mindforger


.PHONY: build-ci
build-ci: clean-app ## build CI MindForger application binary
@echo "MindForger CI build..."
cd .. && qmake CONFIG+=mfci -r mindforger.pro && make -j 7
cd .. && qmake CONFIG+=mfci -r mindforger.pro && make -j
@echo "If CI build succeeded, then MindForger executable can be found in:\n app/mindforger"
ls -al ../app/mindforger

Expand Down

0 comments on commit ab38554

Please sign in to comment.