all: gcc -fPIC -shared -Wl,-z,defs -Wl,-soname,libbasic.so.2 -o libbasic.so.2 basic.c install: 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: