RANLIB=ranlib OBJ=my_strlen.o AUTHOR=foo_s PROJECT=mini-lib DIR=$(AUTHOR)-$(PROJECT) TARBALL=$(DIR).tar.bz2 all: libmini-lib.a libmini-lib.a: $(OBJ) $(AR) cr $@ $(OBJ) $(RANLIB) $@ clean: rm -f *.o *.a dist: cd .. && tar cvjf $(TARBALL) $(DIR)