Skip to content

Commit 1cc281b

Browse files
committed
py.mk: Assume we want all C files from ulab
1 parent 47efd59 commit 1cc281b

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

py/py.mk

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,7 @@ $(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
106106
endif
107107

108108
ifeq ($(CIRCUITPY_ULAB),1)
109-
SRC_MOD += $(addprefix extmod/ulab/code/, \
110-
compare.c \
111-
create.c \
112-
extras.c \
113-
fft.c \
114-
filter.c \
115-
linalg.c \
116-
ndarray.c \
117-
numerical.c \
118-
poly.c \
119-
ulab.c \
120-
vectorise.c \
121-
)
109+
SRC_MOD += $(wildcard extmod/ulab/code/*.c)
122110
CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1
123111
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Wno-float-equal -Wno-sign-compare -DCIRCUITPY
124112
endif

0 commit comments

Comments
 (0)