mirror of
https://github.com/izzy2lost/Ghostship.git
synced 2026-06-19 01:17:03 -07:00
Removed remaining makefile file
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
# util.mk - Miscellaneous utility functions for use in Makefiles
|
||||
|
||||
# Throws an error if the value of the variable named by $(1) is not in the list given by $(2)
|
||||
define validate-option
|
||||
# value must be part of the list
|
||||
ifeq ($$(filter $($(1)),$(2)),)
|
||||
$$(error Value of $(1) must be one of the following: $(2))
|
||||
endif
|
||||
# value must be a single word (no whitespace)
|
||||
ifneq ($$(words $($(1))),1)
|
||||
$$(error Value of $(1) must be one of the following: $(2))
|
||||
endif
|
||||
endef
|
||||
|
||||
# Returns the path to the command $(1) if exists. Otherwise returns an empty string.
|
||||
find-command = $(shell which $(1) 2>/dev/null)
|
||||
Reference in New Issue
Block a user