Oops. Typo.
[oota-llvm.git] / Makefile
1 LEVEL = .
2 DIRS = lib/Support utils lib tools runtime
3 OPTIONAL_DIRS = projects
4
5 include $(LEVEL)/Makefile.common
6
7 test :: all
8         cd test; $(MAKE)
9
10 distclean:: clean
11         $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \
12                           $(LEVEL)/include/Config/config.h \
13                           $(LEVEL)/autoconf/autom4te.cache \
14                           $(LEVEL)/config.log \
15                           $(LEVEL)/TAGS
16
17 AUTOCONF = autoconf
18 AUTOHEADER = autoheader
19
20 configure: autoconf/configure.ac autoconf/aclocal.m4
21         cd autoconf && $(AUTOCONF) -o ../configure configure.ac
22
23 include/Config/config.h.in: autoconf/configure.ac autoconf/aclocal.m4
24         $(AUTOHEADER) -I autoconf autoconf/configure.ac
25