summaryrefslogtreecommitdiffstats
path: root/make/lib.cfg
blob: 6d170efed42a74732deaee5df80736c94f8fcdcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
#  $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

CLEAN_ADDITIONS +=

.PRECIOUS: $(LIB)