Skip to content

Commit 9b20036

Browse files
committed
Update Makefile
1 parent a2dc8e3 commit 9b20036

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PRIV_DIR := $(MIX_APP_PATH)/priv
22
NIF_PATH := $(PRIV_DIR)/libpythonx.so
3-
C_SRC = $(shell pwd)/c_src
3+
C_SRC := $(shell pwd)/c_src
44

55
CPPFLAGS := -shared -fPIC -fvisibility=hidden -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-comment
66
CPPFLAGS += -I$(ERTS_INCLUDE_DIR) -I$(FINE_INCLUDE_DIR)
@@ -19,8 +19,8 @@ ifeq ($(TARGET_ABI),darwin)
1919
CPPFLAGS += -undefined dynamic_lookup -flat_namespace
2020
endif
2121

22-
SOURCES = $(wildcard $(C_SRC)/*.cpp)
23-
HEADERS = $(wildcard $(C_SRC)/*.hpp)
22+
SOURCES := $(wildcard $(C_SRC)/*.cpp)
23+
HEADERS := $(wildcard $(C_SRC)/*.hpp)
2424

2525
all: $(NIF_PATH)
2626
@ echo > /dev/null # Dummy command to avoid the default output "Nothing to be done"

0 commit comments

Comments
 (0)