From c4a92d772d6d4cd13fb4991f377fd27d86e6919c Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Sun, 11 Dec 2016 22:45:26 +0000 Subject: [PATCH] chore: fix error functions in Makefile (#970) `$(error ...)` (and `$(warning ...)`) functions in a Makefile can't be indented - if they are make displays a `*** commands commence before first target. Stop.` error. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d0636d51..b9295d4a 100644 --- a/Makefile +++ b/Makefile @@ -66,16 +66,16 @@ else endif ifndef HOST_PLATFORM - $(error We couldn\'t detect your host platform) +$(error We couldn\'t detect your host platform) endif ifndef HOST_ARCH - $(error We couldn\'t detect your host architecture) +$(error We couldn\'t detect your host architecture) endif TARGET_PLATFORM = $(HOST_PLATFORM) ifneq ($(TARGET_PLATFORM),$(HOST_PLATFORM)) - $(error We don\'t support cross-platform builds yet) +$(error We don\'t support cross-platform builds yet) endif # Default to host architecture. You can override by doing: