all:	index.html combos.html \
	sort_n pr_urands \
	urands.txt urands_w.txt urands_sorted.txt urands_w_sorted.txt

index.html:	squozen_sort.php.txt sort_n.c
	touch datefile
	php squozen_sort.php.txt >index.html

combos.html:	combos.php.txt combino.py
	touch datefile
	php combos.php.txt >combos.html

sort_n:	sort_n.c
	cc -o sort_n sort_n.c

pr_urands:	pr_urands.c
	cc -o pr_urands pr_urands.c

urands.txt:	urands.txt.gz
	gunzip <urands.txt.gz >urands.txt

urands_w.txt:	urands_w.txt.gz
	gunzip <urands_w.txt.gz >urands_w.txt

urands_w_sorted.txt:	urands_w.txt
	sort -n <urands_w.txt >urands_w_sorted.txt

urands_sorted.txt:	urands.txt
	sort -n <urands.txt >urands_sorted.txt


