#
# add any your own library as necessary.
#
LIBS = 

#
# Two C source files you are asking to create for this project.
# You can add any additional files as necessary for this project.
#
SRCS = change_order.c copy_matrix.c det_inv.c eval.c evaluate.c factorial.c find_probab.c frange_ran.c multiply.c numereics.c operators.c p_equalities.c print_format.c read_write.c

#
# Object files will be created. If you add any additional source file
# , add here also.
#
OBJS = change_order.o copy_matrix.o det_inv.o eval.o evaluate.o factorial.o find_probab.o frange_ran.o multiply.o numerics.o operators.o p_equalities.o print_format.o read_write.o 

#
# header file used in this project.
#
DEBUGFLAG = -g

INCLUDEDIRS = 


HDRS =	

LDFLAGS =

#
# supresses the loading phase.
#
CFLAGS = 	$(INCLUDEDIRS) $(DEBUGFLAG)

LDLIBS = -lm
LDFLAGS = 
#
# 
#
PROGRAM =	genocop

$(PROGRAM):	main.o $(OBJS) $(LIBS)
		cc $(CFLAGS)  main.o $(OBJS) $(LDFLAGS) $(LDLIBS) -o $(PROGRAM)
		@echo type $(PROGRAM) to run.

change_order.o:	change_order.c
		cc -c $(CFLAGS) change_order.c

copy_matrix.o:	copy_matrix.c
		cc -c $(CFLAGS) copy_matrix.c

det_inv.o:	det_inv.c
		cc -c $(CFLAGS) det_inv.c

eval.o:		eval.c 
		cc -c $(CFLAGS) eval.c

evaluate.o:	evaluate.c 
		cc -c $(CFLAGS) evaluate.c

factorial.o:	factorial.c 
		cc -c $(CFLAGS) factorial.c

find_probab.o:	find_probab.c 
		cc -c $(CFLAGS) find_probab.c

frange_ran.o:	frange_ran.c 
		cc -c $(CFLAGS) frange_ran.c

multiply.o:	multiply.c 
		cc -c $(CFLAGS) multiply.c

numerics.o:	numerics.c 
		cc -c $(CFLAGS) numerics.c

operators.o: 	operators.c
		cc -c $(CFLAGS) operators.c

p_equalities.o: p_equalities.c
		cc -c $(CFLAGS) p_equalities.c

print_format.o: print_format.c
		cc -c $(CFLAGS) print_format.c

read_write.o:	read_write.c
		cc -c $(CFLAGS) read_write.c

clean:		/bin/rm -f $(OBJS) core
