mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +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
|
RUSTCFLAGS := --opt-level=3
|
||||||
RMFLAGS :=
|
RMFLAGS :=
|
||||||
|
|
||||||
# Output names
|
# Possible programs
|
||||||
EXES := \
|
PROGS := \
|
||||||
cat \
|
cat \
|
||||||
dirname \
|
dirname \
|
||||||
echo \
|
echo \
|
||||||
|
@ -21,6 +21,11 @@ EXES := \
|
||||||
whoami \
|
whoami \
|
||||||
yes \
|
yes \
|
||||||
|
|
||||||
|
BUILD ?= $(PROGS)
|
||||||
|
|
||||||
|
# Output names
|
||||||
|
EXES := \
|
||||||
|
$(filter $(BUILD),$(filter-out $(DONT_BUILD),$(PROGS)))
|
||||||
|
|
||||||
TESTS := \
|
TESTS := \
|
||||||
cat \
|
cat \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue