summaryrefslogtreecommitdiff
path: root/lib/Makefile.mk
blob: ee04e0fec3ee14a4097f302916381cabb2875d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#===- 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 := i386 ppc x86_64 arm

Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
ObjNames := $(Sources:%.c=%.o)
Target := Generic

# FIXME: use automatic dependencies?
Dependencies := $(wildcard $(Dir)/*.h)