Temporary fix. I think Rafael wanted this to be Linux-only.
[llvm/msp430.git] / projects / Makefile
blobb966fc7f780c15f16bdf52a1b5477a54a1ec1d79
1 ##===- projects/Makefile ------------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9 LEVEL=..
11 include $(LEVEL)/Makefile.config
13 # Compile all subdirs, except for the test suite, which lives in test-suite.
14 # Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
15 DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
17 # Sparc cannot link shared libraries (libtool problem?)
18 ifeq ($(ARCH), Sparc)
19 DIRS := $(filter-out sample, $(DIRS))
20 endif
22 include $(PROJ_SRC_ROOT)/Makefile.rules