Modified ld flags on SunOS changed -O2 to -O
[blender.git] / Makefile
index 21ca5aa64dd51da6e690372e0cc1be4ef8ebfd4f..58770c7c1f7778ba367b4bf88a7449f740996e1f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,8 @@
 # toplevel Makefile for blender
 
 export NANBLENDERHOME=$(shell pwd)
-export MAKEFLAGS="-I $(NANBLENDERHOME)/source --no-print-directory"
+MAKEFLAGS=-I$(NANBLENDERHOME)/source --no-print-directory
+include source/nan_subdirs.mk
 
+SOURCEDIR = blender
 DIRS = extern intern source
-
-all: $(DIRS)
-
-$(DIRS):
-       $(MAKE) -C $@
-
-.PHONY: $(DIRS) all