]> git.saurik.com Git - wxWidgets.git/commitdiff
made makefile more robust
authorRon Lee <ron@debian.org>
Sat, 18 Mar 2000 20:22:18 +0000 (20:22 +0000)
committerRon Lee <ron@debian.org>
Sat, 18 Mar 2000 20:22:18 +0000 (20:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/Makefile.in

index fbee2c5b167dda51f86b46d0ec002a57aa347f78..ef331ca9927d79af5a3adadbb7be2531acfdeef9 100644 (file)
@@ -2,13 +2,11 @@
 # Makefile : Builds wxWindows contrib src for Unix.
 #
 
+CONTRIB_SUBDIRS=ogl mmedia stc
+
 all:
-       cd ogl; make
-       cd mmedia; make
-       cd stc; make
+       @for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done
 
 clean:
-       cd ogl; make clean
-       cd mmedia; make clean
-       cd stc; make clean
+       @for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE) clean); done