mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
Added the ability to select which programs to compile
This commit is contained in:
parent
c35e2628e8
commit
68e4d86f9d
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -6,8 +6,8 @@ RM := rm
|
|||
RUSTCFLAGS := --opt-level=3
|
||||
RMFLAGS :=
|
||||
|
||||
# Output names
|
||||
EXES := \
|
||||
# Possible programs
|
||||
PROGS := \
|
||||
cat \
|
||||
dirname \
|
||||
echo \
|
||||
|
@ -21,6 +21,11 @@ EXES := \
|
|||
whoami \
|
||||
yes \
|
||||
|
||||
BUILD ?= $(PROGS)
|
||||
|
||||
# Output names
|
||||
EXES := \
|
||||
$(filter $(BUILD),$(filter-out $(DONT_BUILD),$(PROGS)))
|
||||
|
||||
TESTS := \
|
||||
cat \
|
||||
|
|
Loading…
Reference in a new issue