From aa6d43584745ced762f8e216aa43f95f2a914f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Thu, 10 Oct 2024 11:53:17 +0200 Subject: [PATCH] Fix portable variable assignments in Makefile --- Makefile | 10 +++++----- examples/Makefile | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index c6ec712f..2880362b 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -include Makefile.local # for optional local options -SHARDS ::= shards # The shards command to use -CRYSTAL ::= crystal # The crystal command to use +SHARDS := shards # The shards command to use +CRYSTAL := crystal # The crystal command to use -SRC_SOURCES ::= $(shell find src lib -name '*.cr' 2>/dev/null) -LIB_SOURCES ::= $(shell find lib -name '*.cr' 2>/dev/null) -SPEC_SOURCES ::= $(shell find spec -name '*.cr' 2>/dev/null) +SRC_SOURCES := $(shell find src lib -name '*.cr' 2>/dev/null) +LIB_SOURCES := $(shell find lib -name '*.cr' 2>/dev/null) +SPEC_SOURCES := $(shell find spec -name '*.cr' 2>/dev/null) .PHONY: test test: ## Run test suite diff --git a/examples/Makefile b/examples/Makefile index a94958d2..604718fb 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,5 +1,5 @@ -SHARDS ::= shards -BATS ::= bats +SHARDS := shards +BATS := bats .PHONY: all all: