all: clean findlinks getdests deploy

deploy:
	cp -R * /usr/local/www/missedconnection/

clean:
	rm -f findlinks getdests *.o

findlinks:
	cc -o findlinks -std=c89 -pedantic-errors -Wno-parentheses findlinks.c destlib.c

getdests:
	cc -o getdests -std=c89 -pedantic-errors -Wno-parentheses getdests.c destlib.c
	cp getdests getdestscgi
