improve Makefile output

This commit is contained in:
Arthur Lu 2025-02-11 20:51:35 +00:00
parent 9c2a91e1ab
commit 6150d8651e

View File

@ -3,12 +3,12 @@ SUBDIRS := $(shell ls -d */ | cut -f1 -d'/')
build: $(SUBDIRS)
$(SUBDIRS):
@echo $@
@echo "packaging $@"
@cd $@; zip -rq "$(DIST)/$@.zip" *
clean:
@for d in $(SUBDIRS) ; do \
echo "$$d.zip" ; \
echo "removing $$d.zip" ; \
rm -f "$(DIST)/$$d.zip" ; \
done