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

include $(PROJECT_ROOT)/make/leaf.cfg

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

.PRECIOUS: $(LIB)