Makefiles for library maintenance

Andrew Hume andrew at alice.UUCP
Tue Dec 20 16:39:06 AEST 1988



another hack for maintaining libraries if you have to use something
broken like make (try make -t 'lib.a(c.o)') that i learnt from bruce ellis:

always keep all your .o's around (that's the space tradeoff) and after you make
any new ones, do a
	rm lib.a; ar q lib.a $(OBJ); optional ranlib lib.a
this form of ar runs real quick as it just adds to end.



More information about the Comp.unix.wizards mailing list