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>
This commit is contained in:
committed by
Damien George
parent
1857e62fdc
commit
4bf087b272
@@ -38,6 +38,8 @@ MPY_CROSS_FLAGS += -march=$(ARCH)
|
|||||||
SRC_O += $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(filter %.c,$(SRC))) $(patsubst %.S,%.o,$(filter %.S,$(SRC))))
|
SRC_O += $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(filter %.c,$(SRC))) $(patsubst %.S,%.o,$(filter %.S,$(SRC))))
|
||||||
SRC_MPY += $(addprefix $(BUILD)/, $(patsubst %.py,%.mpy,$(filter %.py,$(SRC))))
|
SRC_MPY += $(addprefix $(BUILD)/, $(patsubst %.py,%.mpy,$(filter %.py,$(SRC))))
|
||||||
|
|
||||||
|
CLEAN_EXTRA += $(MOD).mpy
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Architecture configuration
|
# Architecture configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user