in reply to Re: stuck in perlxstut, example 4
in thread stuck in perlxstut, example 4
I don't know how to do this portably.
To make the makefile portable, it seems all you need to do is use the default action. Change
libmylib$(LIB_EXT): $(O_FILES) $(AR) cr libmylib$(LIB_EXT) $(O_FILES) $(RANLIB) libmylib$(LIB_EXT)
to
libmylib$(LIB_EXT): $(O_FILES)
|
|---|