diff options
Diffstat (limited to 'lib/Makefile.mk')
-rw-r--r-- | lib/Makefile.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/Makefile.mk b/lib/Makefile.mk new file mode 100644 index 00000000..0855879e --- /dev/null +++ b/lib/Makefile.mk @@ -0,0 +1,20 @@ +#===- 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 +SubDirs := i386 ppc x86_64 + +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 |