diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-06-01 08:20:23 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-06-01 08:20:23 -0500 |
| commit | 1cc281b6a49ab4021be92fed7c2975c9d0fa9697 (patch) | |
| tree | e4a0d94c4f999740382bc2a7d48c1bbe3e6e06d0 | |
| parent | 47efd595fce11240f92efecf768800e8d81fa702 (diff) | |
py.mk: Assume we want all C files from ulab
| -rw-r--r-- | py/py.mk | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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 |
