We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2dc8e3 commit 9b20036Copy full SHA for 9b20036
Makefile
@@ -1,6 +1,6 @@
1
PRIV_DIR := $(MIX_APP_PATH)/priv
2
NIF_PATH := $(PRIV_DIR)/libpythonx.so
3
-C_SRC = $(shell pwd)/c_src
+C_SRC := $(shell pwd)/c_src
4
5
CPPFLAGS := -shared -fPIC -fvisibility=hidden -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-comment
6
CPPFLAGS += -I$(ERTS_INCLUDE_DIR) -I$(FINE_INCLUDE_DIR)
@@ -19,8 +19,8 @@ ifeq ($(TARGET_ABI),darwin)
19
CPPFLAGS += -undefined dynamic_lookup -flat_namespace
20
endif
21
22
-SOURCES = $(wildcard $(C_SRC)/*.cpp)
23
-HEADERS = $(wildcard $(C_SRC)/*.hpp)
+SOURCES := $(wildcard $(C_SRC)/*.cpp)
+HEADERS := $(wildcard $(C_SRC)/*.hpp)
24
25
all: $(NIF_PATH)
26
@ echo > /dev/null # Dummy command to avoid the default output "Nothing to be done"
0 commit comments