summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a7f4a4c22..33f407505 100644
--- a/Makefile
+++ b/Makefile
@@ -33,11 +33,10 @@ configure: aclocal.m4 configure.in
aclocal.m4:
aclocal -I buildlib
-build:
- mkdir $(BUILD)
$(BUILD)/config.status: configure
+ test -e $(BUILD) || mkdir $(BUILD)
(HERE=`pwd`; cd $(BUILD) && $$HERE/configure)
$(BUILD)/include/config.h: buildlib/config.h.in
$(BUILD)/environment.mak: buildlib/environment.mak.in
-$(CONVERTED):
+$(CONVERTED): $(BUILD)/config.status
(cd $(BUILD) && ./config.status)