all : dlopen.tar.gz

main : main.c hello
	gcc -Wall -ldl main.c -o main

hello : hello.c
	gcc -Wall -fpic -shared hello.c -o hello

dlopen.tar.gz : hello index.html main Makefile
	tar -czvf dlopen.tar.gz hello.c index.html main.c Makefile
