[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Implement make --all-targets-matching-regexp
From: |
積丹尼 Dan Jacobson |
Subject: |
Implement make --all-targets-matching-regexp |
Date: |
Fri, 02 Apr 2021 13:54:57 +0800 |
Let's take Makefile:
alzu:; echo $@
Blibco:; echo $@
Norfowitz; echo $@
nillsburg; echo $@
Well let's say we want to run all the capital letter items.
We could use
$ make Blibco Norfowitz
but that isn't as smart as
$ make --all-targets-matching-regexp '^[A-Z].*' #Or instead these kinds or
regexps:
$ make --all-targets-matching-regexp '[A-Z]*'
GNU Make 4.3
- Implement make --all-targets-matching-regexp,
積丹尼 Dan Jacobson <=