CC = cc
CFLAGS = -O -I../include
# use the second choice if your system doesn't have ranlib
MAKELIB = ar r libcdf.a *.o; ranlib libcdf.a
#MAKELIB = ar cr libcdf.a `lorder *.o | tsort`
libcdf.a : *.c
	$(CC) $(CFLAGS) -c *.c; $(MAKELIB)
clean :
	-rm -f libcdf.a *.o
	-rm -f *.html
html :
#	for x in `ls *.3`; do groff -m man -T html $$x > $$x.html; done
	@echo "nothing to be done in utils"
install : libcdf.a
	-cp libcdf.a /home/root/lib
