Skip to content

Commit

Permalink
Fix portable variable assignments in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Oct 10, 2024
1 parent 03429e4 commit aa6d435
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SHARDS ::= shards
BATS ::= bats
SHARDS := shards
BATS := bats

.PHONY: all
all:
Expand Down

0 comments on commit aa6d435

Please sign in to comment.