updated some printfs, added comment about sched_yield
[mesa.git] / src / glu / Makefile
index 4ddf09016ba8d038b2e3076258f2a82865861c87..915b95081a94ecb0551617dbf29e20550ad48557 100644 (file)
@@ -10,15 +10,11 @@ SUBDIRS = $(GLU_DIRS)
 
 default: $(TOP)/configs/current
        @for dir in $(SUBDIRS) ; do \
-               pushd $$dir ; \
-               make ; \
-               popd ; \
+               (cd $$dir ; $(MAKE)) ; \
        done
 
 
 clean:
        @for dir in $(SUBDIRS) ; do \
-               pushd $$dir ; \
-               make clean; \
-               popd ; \
+               (cd $$dir ; $(MAKE) clean) ; \
        done