Skip to content

Commit e1af6bc

Browse files
committed
py/dynruntime.mk: Delete compiled module file on clean.
This commit adds the compiled native module file to the list of files to remove when `make clean` is issued in a native module source directory. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
1 parent 53e2380 commit e1af6bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/dynruntime.mk

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ MPY_CROSS_FLAGS += -march=$(ARCH)
3838
SRC_O += $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(filter %.c,$(SRC))) $(patsubst %.S,%.o,$(filter %.S,$(SRC))))
3939
SRC_MPY += $(addprefix $(BUILD)/, $(patsubst %.py,%.mpy,$(filter %.py,$(SRC))))
4040

41+
CLEAN_EXTRA += $(MOD).mpy
42+
4143
################################################################################
4244
# Architecture configuration
4345

0 commit comments

Comments
 (0)