

all: clean lib link test

lib:
	gcc -c -fpic hash.c -o hash.o
	gcc -shared -o libhash.so hash.o

link:
	gcc testhash.c -lpthread -lhash -L. -o runTest

test:
	gcc tester.c -lpthread -lhash -L. -o test

clean:
	rm -f core \#* *.bak *~ *.o runTest lib*.so test




