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)