summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-05-13 04:35:08 +0000
committerRoland McGrath <roland@gnu.org>1992-05-13 04:35:08 +0000
commit72bed535b92ebc9e6bfa44f740025bfee231e2af (patch)
tree7910c7c2ed6a3504a093a7ad94391b4abe9eeaf4 /Rules
parenta22f8491003f2390fd59d1218bf411c3926dcbac (diff)
Formerly ../Rules.~15~
Diffstat (limited to 'Rules')
-rw-r--r--Rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules b/Rules
index 2f69287f33..99e8c79c88 100644
--- a/Rules
+++ b/Rules
@@ -34,6 +34,10 @@ export subdir
.PHONY: all
all: lib headers
+ifneq "$(findstring env,$(origin headers))" ""
+headers :=
+endif
+
ifeq "$(strip $(headers))" ""
ifneq "$(wildcard $(subdir).h)" ""
override headers := $(subdir).h