1
Fork 0
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:
Arcterus 2013-12-26 23:48:38 -08:00
parent c35e2628e8
commit 68e4d86f9d

View file

@ -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 \