# make/Stepmake.make
-
-all: foe
-
-foe:
- @echo one=.$(shell cd $(builddir); pwd).
- @echo two=.$(shell cd $(depth); pwd).
-
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 $(config_make)
outdir=$(outroot)/$(outbase)
+
+# why not generic ??
config_h=$(builddir)/config$(CONFIGSUFFIX).h
# The outdir that was configured for: best guess to find binaries