1 #===- lib/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 SubDirs := i386 ppc x86_64 arm 11 12 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) 13 ObjNames := $(Sources:%.c=%.o) 14 Implementation := Generic 15 16 # FIXME: use automatic dependencies? 17 Dependencies := $(wildcard $(Dir)/*.h) 18