1 #===- lib/builtins/arm/Makefile.mk -------------------------*- Makefile -*--===# 2 # 3 # The LLVM Compiler Infrastructure 4 # 5 # This file is distributed under the University of Illinois Open Source 6 # License. See LICENSE.TXT for details. 7 # 8 #===------------------------------------------------------------------------===# 9 10 ModuleName := builtins 11 SubDirs := 12 OnlyArchs := armv6m 13 14 AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file))) 15 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) 16 ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o) 17 Implementation := Optimized 18 19 # FIXME: use automatic dependencies? 20 Dependencies := $(wildcard lib/*.h $(Dir)/*.h) 21