1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Add a way to prevent building of programs on Windows

This commit is contained in:
Arcterus 2014-02-07 19:35:03 -08:00
parent 8a04ee296b
commit ce5cd0200b

View file

@ -27,15 +27,21 @@ PROGS := \
truncate \ truncate \
users \ users \
wc \ wc \
whoami \
yes \ yes \
tty \ tty \
UNIX_PROGS := \
whoami \
ifneq ($(OS),Windows_NT)
PROGS := $(PROGS) $(UNIX_PROGS)
endif
BUILD ?= $(PROGS) BUILD ?= $(PROGS)
# Output names # Output names
EXES := \ EXES := \
$(filter $(BUILD),$(filter-out $(DONT_BUILD),$(PROGS))) $(sort $(filter $(BUILD),$(filter-out $(DONT_BUILD),$(PROGS))))
# Programs with usable tests # Programs with usable tests
TEST_PROGS := \ TEST_PROGS := \