llvm-project/compiler-rt/lib/Makefile.mk

25 lines
725 B
Makefile
Raw Normal View History

#===- lib/Makefile.mk --------------------------------------*- Makefile -*--===#
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
#===------------------------------------------------------------------------===#
SubDirs :=
# Add arch specific optimized implementations.
SubDirs += i386 ppc x86_64 arm
# Add other submodules.
SubDirs += profile
# Define the variables for this specific directory.
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
ObjNames := $(Sources:%.c=%.o)
Implementation := Generic
# FIXME: use automatic dependencies?
Dependencies := $(wildcard $(Dir)/*.h)