NAME=resample include ../Makefile.p690 LIBFILE=lib$(NAME)$(BITS).a OBJECTS = \ curfit.o \ fpback.o \ fpbspl.o \ fpchec.o \ fpcurf.o \ fpgivs.o \ fprota.o \ fpknot.o \ fpdisc.o \ fprati.o \ curfit.o \ splev.o \ resample.o all: $(LIBFILE) $(LIBFILE): $(OBJECTS) $(AR) -rv $(LIBFILE) $(OBJECTS) >$(LIBFILE).ar .PHONY: objclean objclean: rm -f *.o $(COMPILE_OUT) .PHONY: clean clean: objclean rm -f $(LIBFILE) $(LIBFILE).ar .PHONY: more-output more-output: @echo "--" @echo "compiler output from `pwd`" @if test -e $(COMPILE_OUT) ; then more $(COMPILE_OUT) ; fi @echo "--" @echo "$(AR) output from `pwd`" @if test -e $(LIBFILE).ar ; then more $(LIBFILE).ar ; fi