2009-06-27 00:47:03 +08:00
|
|
|
#===- 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.
|
|
|
|
#
|
|
|
|
#===------------------------------------------------------------------------===#
|
|
|
|
|
|
|
|
Dir := lib
|
2009-09-11 07:50:10 +08:00
|
|
|
SubDirs := i386 ppc x86_64 arm
|
2009-06-27 00:47:03 +08:00
|
|
|
|
|
|
|
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
|
|
|
|
ObjNames := $(Sources:%.c=%.o)
|
|
|
|
Target := Generic
|
|
|
|
|
|
|
|
# FIXME: use automatic dependencies?
|
|
|
|
Dependencies := $(wildcard $(Dir)/*.h)
|
|
|
|
|
|
|
|
include make/subdir.mk
|