Revision e5efe7f5

b/Makefile
5 5
all: build-all
6 6
include config-host.mak
7 7
include $(SRC_PATH)/rules.mak
8
config-host.mak: configure
9
	@echo $@ is out-of-date, running configure
10
	@sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
8 11
else
9 12
config-host.mak:
10 13
	@echo "Please call configure before running make!"
......
34 37
build-all: config-host.h
35 38
	$(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) recurse-all,)
36 39

  
37
config-host.mak: configure
38
ifneq ($(wildcard config-host.mak),)
39
	@echo $@ is out-of-date, running configure
40
	@sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
41
endif
42

  
43 40
config-host.h: config-host.h-timestamp
44 41
config-host.h-timestamp: config-host.mak
45 42

  

Also available in: Unified diff