Skip to content

Commit

Permalink
Consistently use := rather than = in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gapisback committed Apr 11, 2024
1 parent 08786bd commit 846e840
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ LD ?= gcc
# ###################################################################
# SOURCE DIRECTORIES AND FILES, Generator Package
#
LOCPACKAGE = loc
SRCDIR = src
INCDIR = include
TESTSDIR = tests
UNITDIR = unit
TEST_CODE = test-code
UNIT_TESTSDIR = $(TESTSDIR)/$(UNITDIR)
UNIT_INCDIR = $(UNIT_TESTSDIR)
LOCGENPY = $(LOCPACKAGE)/gen_loc_files.py
LOCPACKAGE := loc
SRCDIR := src
INCDIR := include
TESTSDIR := tests
UNITDIR := unit
TEST_CODE := test-code
UNIT_TESTSDIR := $(TESTSDIR)/$(UNITDIR)
UNIT_INCDIR := $(UNIT_TESTSDIR)
LOCGENPY := $(LOCPACKAGE)/gen_loc_files.py

# ------------------------------------------------------------------------
# Define a recursive wildcard function to 'find' all files under a sub-dir
Expand All @@ -78,14 +78,14 @@ endif
# Build mode
#
ifndef BUILD_MODE
BUILD_MODE=release
BUILD_MODE := release
endif
BUILD_DIR := $(BUILD_MODE)

BUILD_PATH=$(BUILD_ROOT)/$(BUILD_DIR)
BUILD_PATH := $(BUILD_ROOT)/$(BUILD_DIR)

OBJDIR = $(BUILD_PATH)/obj
BINDIR = $(BUILD_PATH)/bin
OBJDIR := $(BUILD_PATH)/obj
BINDIR := $(BUILD_PATH)/bin

# Target provided in case one wishes to re-gen LOC-files, manually.
genloc:
Expand Down

0 comments on commit 846e840

Please sign in to comment.