diff options
Diffstat (limited to 'make/lib.cfg')
-rw-r--r-- | make/lib.cfg | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/make/lib.cfg b/make/lib.cfg new file mode 100644 index 0000000000..c4a2c679d5 --- /dev/null +++ b/make/lib.cfg @@ -0,0 +1,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) |