Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Danielsson <max@autious.net>2022-04-27 22:34:30 +0300
committerGitHub <noreply@github.com>2022-04-27 22:34:30 +0300
commit0789031640a04d23286aadea0afb67fb066a163e (patch)
treedf1bf692549c750993f795f360f717588c87ea04
parent08da859107194d3d283c6b54565bffb656478a26 (diff)
parentfc02a41b2f5b032030b07a6965b6e7add42e4166 (diff)
Merge pull request #38 from dressupgeekout/portable_toplevel_makefile
More portable top-level Makefile
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3f3a3c1d..22b103b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PROCS = $(shell nproc)
+PROCS ?= $(shell nproc)
default: setup build
setup:
@@ -29,7 +29,7 @@ deactivate-ogda:
cd Build; cmake -DBUILD_OGDA=Off ../Projects
build:
- make --no-print-directory -j$(PROCS) -C Build
+ $(MAKE) --no-print-directory -j$(PROCS) -C Build
run:
cd Build; ./Overgrowth.bin.x86_64
@@ -39,4 +39,4 @@ debug:
test:
cd Build; ./Overgrowth.bin.x86_64 --run-unit-tests
clean:
- make --no-print-directory -j$(PROCS) -C Build clean
+ $(MAKE) --no-print-directory -j$(PROCS) -C Build clean