r1665

stsp at user.in-berlin.de stsp at user.in-berlin.de
Fri Dec 22 17:49:12 CET 2006


Author: stsp
Date: 2006-12-22 17:49:06 +0100 (Fri, 22 Dec 2006)
New Revision: 1665

Log:
Use $(MAKE) instead of make to call make recursively.
Only run make clean in src/ if src/Makefile exists.


Modified:
   trunk/lib/libssl/Makefile

Modified: trunk/lib/libssl/Makefile
===================================================================
--- trunk/lib/libssl/Makefile	2006-12-22 16:34:57 UTC (rev 1664)
+++ trunk/lib/libssl/Makefile	2006-12-22 16:49:06 UTC (rev 1665)
@@ -9,11 +9,12 @@
 	touch $@
 
 .compiled: .configured
-	cd src && make depend && make
+	$(MAKE) -C src depend
+	$(MAKE) -C src
 	touch $@
 
 clean:
-	cd src && $(MAKE) clean
+	-[ -f src/Makefile ] && $(MAKE) -C src clean
 	rm -f .configured .compiled
 
 # Empty romfs target since we only statically link with libraries




More information about the dslinux-commit mailing list