mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Add a way to prevent building of programs on Windows
This commit is contained in:
@@ -27,15 +27,21 @@ PROGS := \
|
||||
truncate \
|
||||
users \
|
||||
wc \
|
||||
whoami \
|
||||
yes \
|
||||
tty \
|
||||
|
||||
UNIX_PROGS := \
|
||||
whoami \
|
||||
|
||||
ifneq ($(OS),Windows_NT)
|
||||
PROGS := $(PROGS) $(UNIX_PROGS)
|
||||
endif
|
||||
|
||||
BUILD ?= $(PROGS)
|
||||
|
||||
# Output names
|
||||
EXES := \
|
||||
$(filter $(BUILD),$(filter-out $(DONT_BUILD),$(PROGS)))
|
||||
$(sort $(filter $(BUILD),$(filter-out $(DONT_BUILD),$(PROGS))))
|
||||
|
||||
# Programs with usable tests
|
||||
TEST_PROGS := \
|
||||
|
||||
Reference in New Issue
Block a user