include ../make.${BLKCMARCH}

OBJS =  buffer.o findloc.o findown.o mshsort.o pairsync.o settype.o sortsend.o trimmove.o valid.o comsort.o
SOURCE =  buffer.c findloc.c findown.c mshsort.c pairsync.c settype.c sortsend.c trimmove.c valid.c comsort.c
#
# This makefile template defines a library name that is used when collecting
# object files into a library.  
LIBNAME  = ../lib/libblkcm${BLKCMARCH}.a
.PRECIOUS: $(LIBNAME)

lib: $(OBJS) 
	$(AR) $(LIBNAME) $?
.c.o: 
	$(CC) -c $(CFLAGS) $(COPTFLAGS) $*.c
.f.o: 
	$(FC) -c $(FFLAGS) $(FOPTFLAGS) $*.f
clean:
	$(RM) -f *.o *~ core TAGS

