x
authorClaus Gittinger <cg@exept.de>
Wed, 30 Apr 2014 00:42:33 +0200
changeset 6399 98856a435cf2
parent 6398 7dc6bcaa6b73
child 6400 20859698ba93
x
Makefile.init
--- a/Makefile.init	Wed Apr 30 00:42:30 2014 +0200
+++ b/Makefile.init	Wed Apr 30 00:42:33 2014 +0200
@@ -1,18 +1,27 @@
 #
-# DO NOT EDIT 
-# automagically generated from Make.proto (by make mf)
+# DO NOT EDIT
+#
+# make uses this file (Makefile) only, if there is no
+# file named "makefile" (lower-case m) in the same directory.
+# My only task is to generate the real makefile and call make again.
+# Thereafter, I am no longer used and needed.
 #
-include ../rules/stdHeader
-include ../configurations/COMMON/defines
-include ../configurations/vendorConf
-include ../configurations/myConf
-include ../rules/stdHeader2
-include Make.spec
+# MACOSX caveat:
+#   as filenames are not case sensitive (in a default setup),
+#   we cannot use the above trick. Therefore, this file is now named
+#   "Makefile.init", and you have to execute "make -f Makefile.init" to
+#   get the initial makefile.  This is now also done by the toplevel CONFIG
+#   script.
+
+.PHONY: run
+
+run: makefile
+	$(MAKE) -f makefile
+
+#only needed for the definition of $(TOP)
 include Make.proto
 
-BASE_CONF=osx_x
-BASE_CONF_VENDOR=mac
-CONF_PACKS=
-CONF_TOOLS=
+makefile: mf
 
-include ../rules/stdRules
+mf:
+	$(TOP)/rules/stmkmf