all: gcc -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c install: # install it under the correct triplet directory install -d $(DESTDIR)/usr/lib/ install -m 644 -c -s libbasic.so.2 $(DESTDIR)/usr/lib/libbasic.so.2 clean distclean: rm -f libbasic.so.2 check test: