Investigate and consider use of libtool to increase portability of building library on different platforms.
For example, the following two lines could be used to build the lua bplib extension library:
$ libtool --tag=CC --silent --mode=compile $(CC) -I../../inc -I../../unittest -c lua_bplib.c
$ libtool --tag=CC --silent --mode=link $(CC) -rpath $(LIBDIR) -o $(TGTEXT).la $(ALL_OBJ)
Investigate and consider use of libtool to increase portability of building library on different platforms.
For example, the following two lines could be used to build the lua bplib extension library: $ libtool --tag=CC --silent --mode=compile $(CC) -I../../inc -I../../unittest -c lua_bplib.c $ libtool --tag=CC --silent --mode=link $(CC) -rpath $(LIBDIR) -o $(TGTEXT).la $(ALL_OBJ)