changeset 580:07e77b804697 trunk

[svn] ditto for static libraries
author nenolod
date Thu, 02 Feb 2006 16:15:10 -0800
parents 785ec2ad4ea4
children 572cbb4c25ba
files mk/objective.mk
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mk/objective.mk	Thu Feb 02 16:14:33 2006 -0800
+++ b/mk/objective.mk	Thu Feb 02 16:15:10 2006 -0800
@@ -97,6 +97,11 @@
 	printf "%10s     %-20s\n" LINK $@
 	$(CC) -fPIC -DPIC -shared -o $@ $(OBJECTS) $(LDFLAGS) $(LIBADD)
 
+%.a: $(OBJECTS)
+	make $(OBJECTS)
+	printf "%10s     %-20s\n" LINK $@
+	$(AR) cq $@ $(OBJECTS)
+
 $(OBJECTIVE_BINS): $(OBJECTS)
 	make $(OBJECTS)
 	printf "%10s     %-20s\n" LINK $@