include ../../Make.inc
 
#-----------------------------------------------------------------------
 
OBJ = Network

SRC = addArc.c \
      augmentPath.c \
      basics.c \
      findAugmentingPath.c \
      findMaxFlow.c \
      findMincut.c \
      init.c \
      IO.c

OBJ_FILES = ${SRC:.c=.o}

.c.o :
	$(PURIFY) $(CC) -c $(CFLAGS) $*.c -o $(OBJ)_$*.o

../../spooles.a : ${OBJ_FILES}
	$(AR) $(ARFLAGS) ../../spooles.a $(OBJ)_*.o
	rm -f $(OBJ)_*.o
	$(RANLIB) ../../spooles.a
	
