# make/Stepmake.make
include $(depth)/make/toplevel-version.make
-
# Use alternate configurations alongside eachother:
#
# ./configure --enable-config=debug
endif
ifdef config
- configuration=$(config)
+ config_make=$(config)
else
ifeq ($(builddir),)
- configuration=$(depth)/config$(CONFIGSUFFIX).make
+ config_make=$(depth)/config$(CONFIGSUFFIX).make
else
- configuration=$(builddir)/config$(CONFIGSUFFIX).make
+ config_make=$(builddir)/config$(CONFIGSUFFIX).make
endif
endif
outroot=$(builddir)/$(patsubst $(shell cd $(depth); pwd)%,%,$(pwd))
endif
-include $(configuration)
+include $(depth)/VERSION
+include $(config_make)
outdir=$(outroot)/$(outbase)