Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
693a2df9fThis file is pinned to the selected release. Download the original to open it in your design tool.
PI=pi@raspberrypi.local
SUBDIRS = examples
TARGET = subdirs
PHONY += $(TARGET) $(SUBDIRS) %.clean
OUTDIR = bin
all: $(TARGET)
subdirs: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
%.clean:
@(cd $(patsubst %.clean, %, $@) && $(MAKE) clean)
clean distclean: $(patsubst %, %.clean, $(SUBDIRS))
.PHONY: $(PHONY) install clean distclean
upload:
scp $(OUTDIR)/* $(PI):~/