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:
commit
b5fe551295
1 changed files with 8 additions and 2 deletions
10
Makefile
10
Makefile
|
@ -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 := \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue