1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Merge pull request #91 from Arcterus/makefile

Add a way to prevent building of programs on Windows
This commit is contained in:
Heather 2014-02-08 09:40:52 +03:00
commit b5fe551295

View file

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