threadexit: threadexit.c
	gcc -o $@ $^ -lpthread

clean:
	rm -f threadexit
