Skip to content

Commit 56a4d35

Browse files
Will OlnerWill Olner
authored andcommitted
Added NOSAMPLES flag
1 parent 9e4be98 commit 56a4d35

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ LIB_SHARE = libarduino.so
6161
LIB = $(LIB_STATIC) $(LIB_SHARE)
6262

6363
all: $(LIB)
64-
make -C sample/
64+
65+
ifneq (,$(findstring NOSAMPLES,$(MAKEFLAGS)))
66+
make -C sample/
67+
else
68+
69+
endif
70+
6571

6672

6773
$(LIB): $(OBJS)

0 commit comments

Comments
 (0)