2023-06-06 03:01:06 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
SUBDIRS = lib generated samples
|
|
|
|
|
|
|
|
all: $(SUBDIRS)
|
2023-07-28 00:30:00 +08:00
|
|
|
./ynl-regen.sh -f -p $(PWD)/../../../
|
2023-06-06 03:01:06 +08:00
|
|
|
|
|
|
|
$(SUBDIRS):
|
|
|
|
@if [ -f "$@/Makefile" ] ; then \
|
|
|
|
$(MAKE) -C $@ ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
clean hardclean:
|
|
|
|
@for dir in $(SUBDIRS) ; do \
|
|
|
|
if [ -f "$$dir/Makefile" ] ; then \
|
|
|
|
$(MAKE) -C $$dir $@; \
|
|
|
|
fi \
|
|
|
|
done
|
|
|
|
|
|
|
|
.PHONY: clean all $(SUBDIRS)
|