py.mk: Assume we want all C files from ulab

This commit is contained in:
Jeff Epler 2020-06-01 08:20:23 -05:00
parent 47efd595fc
commit 1cc281b6a4

View File

@ -106,19 +106,7 @@ $(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
endif
ifeq ($(CIRCUITPY_ULAB),1)
SRC_MOD += $(addprefix extmod/ulab/code/, \
compare.c \
create.c \
extras.c \
fft.c \
filter.c \
linalg.c \
ndarray.c \
numerical.c \
poly.c \
ulab.c \
vectorise.c \
)
SRC_MOD += $(wildcard extmod/ulab/code/*.c)
CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Wno-float-equal -Wno-sign-compare -DCIRCUITPY
endif