Check for __MINGW define instead of __MINGW_H, patch by Henrik Bach.
[oota-llvm.git] / Makefile
index a61d7f3dde1bb211f955756c359912caf0b41fc4..ae3ffa2a52e2abc02974645614000ae2301f9da5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,11 @@
 # 
 #===------------------------------------------------------------------------===#
 LEVEL = .
-DIRS = lib/Support utils lib tools 
+DIRS = lib/System lib/Support utils lib tools 
 
 ifneq ($(MAKECMDGOALS),tools-only)
 DIRS += runtime
-OPTIONAL_DIRS = projects
+OPTIONAL_DIRS = examples projects
 endif
 
 include $(LEVEL)/Makefile.common
@@ -21,7 +21,7 @@ test :: all
 
 distclean:: clean
        $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \
-                         $(LEVEL)/include/Config/config.h \
+                         $(LEVEL)/include/llvm/Config/config.h \
                          $(LEVEL)/autoconf/autom4te.cache \
                          $(LEVEL)/config.log \
                          $(LEVEL)/TAGS