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