summaryrefslogtreecommitdiffstats
path: root/c/src/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 /c/src/make/lib.cfg
parentAdded _times_r. (diff)
downloadrtems-bffb93879940c71c58d2c66410e1bd5e5e4dc979.tar.bz2
Removed PROJECT_HOME and CONFIG_DIR variables.
Diffstat (limited to 'c/src/make/lib.cfg')
-rw-r--r--c/src/make/lib.cfg20
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)