X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdad4e7e02c5db4a596419810bb31bc27f396290..1bc3fa018039382d373a265f88750f90a10f3623:/utils/Makefile.in

diff --git a/utils/Makefile.in b/utils/Makefile.in
index d7c108504a..141bfa23da 100644
--- a/utils/Makefile.in
+++ b/utils/Makefile.in
@@ -2,19 +2,11 @@
 # Makefile : Builds wxWindows utils for Unix.
 #
 
+UTILS_SUBDIRS=tex2rtf hhp2cached makegen HelpGen dialoged
+
 all:
-	cd tex2rtf; make
-	cd hhp2cached; make
-	cd makegen; make
-	cd HelpGen; make
-	cd dialoged; make
-	cd wxMMedia2; make
+	@for d in $(UTILS_SUBDIRS); do (cd $$d && $(MAKE)); done
 
 clean:
-	cd tex2rtf; make clean
-	cd hhp2cached; make clean
-	cd makegen; make clean
-	cd HelpGen; make clean
-	cd dialoged; make clean
-	cd wxMMedia2; make clean
+	@for d in $(UTILS_SUBDIRS); do (cd $$d && $(MAKE) clean); done