CC        = gcc
CFLAGS    = -Wall -g -static -I ../../arith_include
LDLIB     = -L ../../arith_lib -lmpfr -lgmp  #-Wl,--verbose
OBJS      = mpfr-matrix.o

all: mpfr-test-matrix
 
mpfr-test-matrix: mpfr-test-matrix.c $(OBJS)
	$(CC) $(CFLAGS) $^ $(LDLIB) -o $@ 

mpfr-matrix.o: mpfr-matrix.c mpfr-matrix.h mpfr-matrix-types.h

