LIB   = -lblas -lm
FLAGS = # -O3
OPT   = -O3 

test = driver1.o clock.o 
user_f = dgemm_notrans_notrans.f 
user_c = dgemm_notrans_notrans_c.c
user =   dgemm_notrans_notrans_c.o

driver: $(test) Makefile
	xlc -c $(user_c) ; xlf -o driver $(user_f) $(user) $(test) $(LIB)

driver3: $(test) Makefile
	xlc $(OPT) -c $(user_c) ; xlf $(OPT) -o driver $(user_f) $(user) $(test) $(user) $(LIB)

.c.o: ; xlc -c $(FLAGS) $*.c
.f.o: ; xlf -c $(FLAGS) $*.f
