Move top level rules for tags and installing headers to Makefile.rules
[oota-llvm.git] / Makefile
1 #===- ./Makefile -------------------------------------------*- Makefile -*--===#
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 #===------------------------------------------------------------------------===#
9 LEVEL = .
10 DIRS = lib/System lib/Support utils lib tools 
11
12 ifneq ($(MAKECMDGOALS),tools-only)
13 DIRS += runtime
14 OPTIONAL_DIRS = examples projects
15 endif
16
17 include $(LEVEL)/Makefile.common
18
19 test :: all
20         cd test; $(MAKE)
21
22 tools-only: all