all: longint.h5 README.html

longint.h5: a.out
	./a.out 
	h5dump longint.h5

a.out:  hdf5f2003.f90
	h5fc $<
	#h5fc -show

.PHONY: clean reallyclean
clean:
	rm -f *~ *.o a.out
reallyclean: clean
	rm -f longint.h5

README.html: README.org
	emacs --batch --load ~/.emacs --visit $< --funcall org-html-export-to-html --kill
