Skip to content

Commit c0be4a0

Browse files
committed
neighbors: Add makefile for usermod
1 parent 1333a14 commit c0be4a0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MOD_DIR := $(USERMOD_DIR)
2+
3+
# Add all C files to SRC_USERMOD.
4+
SRC_USERMOD_C += $(MOD_DIR)/neighbors.c
5+
6+
EMLEARN_DIR := $(shell python3 -c "import emlearn; print(emlearn.includedir)")
7+
8+
# We can add our module folder to include paths if needed
9+
CFLAGS_USERMOD += -I$(EMLEARN_DIR)

0 commit comments

Comments
 (0)