[Live-devel] Makefile.tail patch: make -> $(MAKE)

Sergio Gelato Sergio.Gelato at astro.su.se
Sat Mar 19 13:54:45 PST 2005


On some systems, GNU make is called gmake rather than make.

The following patch against the 2005-03-11 Makefile.tail causes the same
make command to be used for subdirectory make invocations as for the top
invocation, at least when GNU make is being used.

--- old/Makefile.tail	2005-03-11 10:59:40.000000000 +0100
+++ new/Makefile.tail	2005-03-18 21:30:36.619880000 +0100
@@ -21,19 +21,19 @@
 
 
 $(LIVEMEDIA_LIB):
-	cd $(LIVEMEDIA_DIR) ; make
+	cd $(LIVEMEDIA_DIR) ; $(MAKE)
 $(GROUPSOCK_LIB):
-	cd $(GROUPSOCK_DIR) ; make
+	cd $(GROUPSOCK_DIR) ; $(MAKE)
 $(USAGE_ENVIRONMENT_LIB):
-	cd $(USAGE_ENVIRONMENT_DIR) ; make
+	cd $(USAGE_ENVIRONMENT_DIR) ; $(MAKE)
 $(BASIC_USAGE_ENVIRONMENT_LIB):
-	cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; make
+	cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; $(MAKE)
 $(TESTPROGS_APP):
-	cd $(TESTPROGS_DIR) ; make
+	cd $(TESTPROGS_DIR) ; $(MAKE)
 
 clean:
-	cd $(LIVEMEDIA_DIR) ; make clean
-	cd $(GROUPSOCK_DIR) ; make clean
-	cd $(USAGE_ENVIRONMENT_DIR) ; make clean
-	cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; make clean
-	cd $(TESTPROGS_DIR) ; make clean
+	cd $(LIVEMEDIA_DIR) ; $(MAKE) clean
+	cd $(GROUPSOCK_DIR) ; $(MAKE) clean
+	cd $(USAGE_ENVIRONMENT_DIR) ; $(MAKE) clean
+	cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; $(MAKE) clean
+	cd $(TESTPROGS_DIR) ; $(MAKE) clean


More information about the live-devel mailing list