summaryrefslogtreecommitdiffstats
path: root/make/lib.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-20 19:30:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-20 19:30:30 +0000
commitbffb93879940c71c58d2c66410e1bd5e5e4dc979 (patch)
tree2b13eb892f6022cb62a7847f2d27fb44e5e313ae /make/lib.cfg
parent3294650cc34a7b1e6e669ecd4f95fba26ac4b97d (diff)
downloadrtems-bffb93879940c71c58d2c66410e1bd5e5e4dc979.tar.bz2
Removed PROJECT_HOME and CONFIG_DIR variables.
Diffstat (limited to 'make/lib.cfg')
-rw-r--r--make/lib.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/make/lib.cfg b/make/lib.cfg
new file mode 100644
index 0000000000..6d170efed4
--- /dev/null
+++ b/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)