# HG changeset patch # User nenolod # Date 1138925710 28800 # Node ID 07e77b80469730ea25228fdecb5c2afb94c99ffb # Parent 785ec2ad4ea44b398109ce1b39953a8e5e0c0428 [svn] ditto for static libraries diff -r 785ec2ad4ea4 -r 07e77b804697 mk/objective.mk --- 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 $@