]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/make/stepmake.make
release: 1.1.43
[lilypond.git] / stepmake / make / stepmake.make
index 9b114e1b20b2388cc3bdf0621926d539109c0055..3c7dade6d78e94a61627123c8d5a7d907b42a066 100644 (file)
@@ -6,6 +6,8 @@ include $(depth)/make/toplevel-version.make
 ifeq (0,${MAKELEVEL})
   MAKE:=$(MAKE) --no-builtin-rules
 endif
+.SUFFIXES:
+
 
 ifndef config
   configuration=config
@@ -21,19 +23,31 @@ else
 outdir=out
 endif
 
+# user package
+# stepdir = $(stepmake)/stepmake
+# for stepmake packageg
 stepdir = $(depth)/stepmake
 
-LOCALSTEPMAKE_TEMPLATES:=generic $(LOCALSTEPMAKE_TEMPLATES)
 STEPMAKE_TEMPLATES := generic $(STEPMAKE_TEMPLATES) 
+LOCALSTEPMAKE_TEMPLATES:= generic $(LOCALSTEPMAKE_TEMPLATES)
+
+
+all:
+
+-include $(addprefix $(depth)/make/,$(addsuffix -inclusions.make, $(LOCALSTEPMAKE_TEMPLATES)))
+
+-include $(addprefix $(stepdir)/,$(addsuffix -inclusions.make, $(STEPMAKE_TEMPLATES)))
 
-default:
 
+include $(addprefix $(stepdir)/,$(addsuffix -vars.make, $(STEPMAKE_TEMPLATES)))
+
+# ugh. need to do this because of PATH :=$(topdir)/..:$(PATH) 
 include $(addprefix $(depth)/make/,$(addsuffix -vars.make, $(LOCALSTEPMAKE_TEMPLATES))) 
-include $(addprefix $(stepdir)/,$(addsuffix -vars.make, $(STEPMAKE_TEMPLATES))) 
+
+
 include $(addprefix $(depth)/make/,$(addsuffix -rules.make, $(LOCALSTEPMAKE_TEMPLATES))) 
 include $(addprefix $(stepdir)/,$(addsuffix -rules.make, $(STEPMAKE_TEMPLATES))) 
 include $(addprefix $(depth)/make/,$(addsuffix -targets.make, $(LOCALSTEPMAKE_TEMPLATES))) 
 include $(addprefix $(stepdir)/,$(addsuffix -targets.make, $(STEPMAKE_TEMPLATES))) 
 
 
-