Skip to content

Commit 8ecd6b8

Browse files
committed
Add environment variable
1 parent 59c99fb commit 8ecd6b8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ this_dir := $(patsubst %/,%,$(this_dir))
1313
# Define the root project directory:
1414
ROOT_DIR ?= $(this_dir)
1515

16+
# Define the top-level directory containing source files:
17+
SRC_DIR ?= $(ROOT_DIR)/lib/node_modules
18+
1619
# Define the root tools directory:
1720
TOOLS_DIR ?= $(ROOT_DIR)/tools
1821

22+
# Define the directory containing tools which are Node.js packages:
23+
TOOLS_PKGS_DIR ?= $(SRC_DIR)/@stdlib/_tools
24+
1925
# Define the directory containing the entry point for Makefile dependencies:
2026
TOOLS_MAKE_DIR ?= $(TOOLS_DIR)/make
2127

@@ -60,9 +66,6 @@ NODE_MODULES ?= $(ROOT_DIR)/node_modules
6066
# Define the top-level directory containing node module executables:
6167
BIN_DIR ?= $(NODE_MODULES)/.bin
6268

63-
# Define the top-level directory containing source files:
64-
SRC_DIR ?= $(ROOT_DIR)/lib/node_modules
65-
6669
# Define the folder name convention for source files:
6770
SOURCE_FOLDER ?= lib
6871

0 commit comments

Comments
 (0)