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