Commit 4bcd03a6 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-04-06 15:24:28 by simonmar]

complain if $(way) is not a member of $(WAYS).  This will help stop me
shooting myself in the foot by building things for nonexistent ways.
parent 8dbb5f0f
......@@ -1034,6 +1034,11 @@ maintainer-clean:: extraclean
# Expects: $(WAYS) the possible "way" strings to one of
# which $(way) will be set
ifneq "$(way)" ""
ifeq "$(findstring $(way), $(WAYS))" ""
$(error Unknown way $(way))
endif
endif
# So how does $(way) ever get set to anything? Answer, we recursively
# invoke make, setting $(way) on the command line.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment