To pass arguments to makefile using script

Hi,

I want to run a target of makfile using script by passing different arguments to it again n again. I i need to grep certain things from the log file.
eg

make abc KAB=8 BAC=8 >& KAB_BAC.log
grep "timeA" KAB_BAC.log
grep "timeB" KAB_BAC.log

(i want to store the difference of the two time for all runs in a sigle file)

make abc KAB=64 BAC=64 >& KAB_BAC.log
grep "time" KAB_BAC.log
grep "timeB" KAB_BAC.log

and so on.. the log files name (KAB_BAC.log) shuld be the value of KAB and BAC.

I m trying it with csh.