aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/extras/Mesa/src/Makefile')
-rw-r--r--nx-X11/extras/Mesa/src/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa/src/Makefile b/nx-X11/extras/Mesa/src/Makefile
new file mode 100644
index 000000000..ffe2dbc6a
--- /dev/null
+++ b/nx-X11/extras/Mesa/src/Makefile
@@ -0,0 +1,34 @@
+# src/Makefile
+
+TOP = ..
+
+include $(TOP)/configs/current
+
+SUBDIRS = $(SRC_DIRS)
+
+
+default: message $(LIB_DIR) subdirs
+
+
+message:
+ @echo "Making sources for" $(CONFIG_NAME)
+
+
+subdirs:
+ @for dir in $(SUBDIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir ; $(MAKE)) || exit 1 ; \
+ fi \
+ done
+
+
+$(LIB_DIR):
+ -mkdir $(LIB_DIR)
+
+
+clean:
+ @for dir in $(SUBDIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir ; $(MAKE) clean) ; \
+ fi \
+ done