feat(build): help target to list all targets (#870)
This commit is contained in:
parent
1158d5d889
commit
fbc361bcd7
6
Makefile
6
Makefile
@ -6,6 +6,10 @@ GENERATOR ?= $(shell for c in ninja make; do command -vp $$c; done | xargs basen
|
||||
|
||||
all: configure build link
|
||||
|
||||
help:
|
||||
@echo "Available targets:"
|
||||
@awk -F':' '/^\w*:/ {print " "$$1;}' Makefile
|
||||
|
||||
configure:
|
||||
@echo "\033[32;1m**\033[0m Configuring..."
|
||||
@mkdir -p $(BUILDDIR)
|
||||
@ -30,6 +34,6 @@ clean:
|
||||
@if [ -L polybar ]; then rm -v polybar; fi
|
||||
@if [ -L polybar-msg ]; then rm -v polybar-msg; fi
|
||||
|
||||
.PHONY: configure build link clean
|
||||
.PHONY: configure build link clean help
|
||||
|
||||
# vim:ts=2 sw=2 noet nolist
|
||||
|
Loading…
Reference in New Issue
Block a user