Do not add stx:libview3 as preRequisite
authorStefan Vogel <sv@exept.de>
Fri, 01 Aug 2014 16:46:57 +0200
changeset 3146 94b9eff076a3
parent 3145 418205f2b8d6
child 3147 e79929acadbe
Do not add stx:libview3 as preRequisite
Makefile.init
--- a/Makefile.init	Fri Aug 01 16:46:23 2014 +0200
+++ b/Makefile.init	Fri Aug 01 16:46:57 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