chiark / gitweb /
WORKS
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 12 Nov 2019 17:13:06 +0000 (17:13 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 12 Nov 2019 17:13:06 +0000 (17:13 +0000)
Subdir.mk.in

index 722d1dc..fa38d65 100644 (file)
@@ -29,8 +29,8 @@ COMPILE               ?= $(CC) -c -o$@ -MD $(DEFS) $(INCLUDES) $(CFLAGS)
 config.status: &^/configure
        ./config.status --recheck
 
-subdirs.mk: config.status &^/build-aux/subdirmk-setup
-       ./config.status $@
-
-%/Subdir.mk: &^/%/Subdir.mk.in subdirs.mk
-       ./config.status $@
+subdirs.mk $(MAKFILES): makefiles.phantom
+.INTERMEDIATE: makefiles.phantom
+makefiles.phantom: $(addprefix &^/,$(addsuffix .in,$(MAKEFILES)))      \
+               config.status &^/build-aux/subdirmk-setup
+       ./config.status