On 2011-04-05 13:23Z, Ajay Jain wrote: > > %.a : ALL OBJECT FILES > @$(ECHO) "\nBUILDING $@ \n" > $(AR) $(ARFLAGS) $@ $^ > > Any clue? What GENERAL rule can I write?
Specify the object files that each library should contain,
and then use the general rule you gave above. For example:
libx.a: $(x_objects)
liby.a: $(y_objects)
%.a:
$(AR) $(ARFLAGS) $@ $^
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
