summaryrefslogtreecommitdiffstats
path: root/make/lib.cfg
blob: 5c35c6236af5cc604a553b6043eec16c45200a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#  $Id$
#
# make/lib.cfg
#
#   Make(1) configuration file include'd by all "library" Makefile
#   Assumes $(LIB) is set to $(ARCH)/libfoo.a
#

include $(RTEMS_ROOT)/make/leaf.cfg

define make-library
$(RM) $@
$(AR) $(ARFLAGS) $@ $(OBJS)
$(MKLIB) $@
endef

.PRECIOUS: $(LIB)