Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is
[mesa.git] / Makefile
index 52c0df94692a95b7d56d9d42297348de971b5408..e5d5aca8fd50ccc7812123597aeb96d7b2d762a8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,19 +7,19 @@ SUBDIRS = src progs
 
 default: $(TOP)/configs/current
        @for dir in $(SUBDIRS) ; do \
-               (cd $$dir ; make) || exit 1 ; \
+               (cd $$dir ; $(MAKE)) || exit 1 ; \
        done
 
 
 clean:
        @for dir in $(SUBDIRS) ; do \
-               (cd $$dir ; make clean) ; \
+               (cd $$dir ; $(MAKE) clean) ; \
        done
 
 
 realclean:
        touch $(TOP)/configs/current
-       make clean
+       $(MAKE) clean
        -rm -rf lib*
        -rm -f $(TOP)/configs/current
 
@@ -65,6 +65,7 @@ linux-alpha \
 linux-alpha-static \
 linux-debug \
 linux-dri \
+linux-dri-x86 \
 linux-dri-x86-64 \
 linux-glide \
 linux-icc \
@@ -100,7 +101,7 @@ sunos5-gcc \
 sunos5-smp \
 ultrix-gcc:
        (cd configs && rm -f current && ln -s $@ current)
-       make default
+       $(MAKE) default
 
 
 # Rules for making release tarballs