From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Espie To: pcg@goof.com Cc: egcs@egcs.cygnus.com, egcs-patches@cygnus.com Subject: egcs benchmark suite, nits Date: Thu, 28 Jan 1999 05:53:00 -0000 Message-id: <199901281352.OAA09634@quatramaran.ens.fr> References: <19990116065208.A17513@cerebro.laendle> X-SW-Source: 1999-01/msg00317.html This small patch: - removes the dependency on gnu-make features of the Makefile, - makes it available to your average paranoid sys-admin who doesn't have . in his PATH. There may be some other problems, I have been too busy with other funny egcs things to run the benchmark to completion yet, but thanks ! Index: benchmarks/Makefile =================================================================== RCS file: /egcs/carton/cvsfiles/benchmarks/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 1999/01/27 12:06:50 1.12 +++ Makefile 1999/01/28 13:48:02 @@ -40,8 +40,9 @@ mhz: lib/mhz lib/mhz >mhz -lib/mhz: lib/mhz.c lib/lib_timing.c lib/lib_stats.c - $(CC) -O -o $@ $^ -lm +MHZ=lib/mhz.c lib/lib_timing.c lib/lib_stats.c +lib/mhz: ${MHZ} + $(CC) -O -o $@ ${MHZ} -lm bench.a: bench.o $(AR) r $@ $? Index: benchmarks/runbench =================================================================== RCS file: /egcs/carton/cvsfiles/benchmarks/runbench,v retrieving revision 1.9 diff -u -r1.9 runbench --- runbench 1999/01/27 12:06:55 1.9 +++ runbench 1999/01/28 13:48:02 @@ -12,7 +12,7 @@ VERSION=0.9.2 -. benchlib.sh +. ./benchlib.sh # make this default the same as in the Makefile TIME=5 @@ -64,7 +64,7 @@ done init_bench -. bench.def +. ./bench.def end_bench From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Espie To: pcg@goof.com Cc: egcs@egcs.cygnus.com, egcs-patches@cygnus.com Subject: egcs benchmark suite, nits Date: Sun, 31 Jan 1999 23:58:00 -0000 Message-ID: <199901281352.OAA09634@quatramaran.ens.fr> References: <19990116065208.A17513@cerebro.laendle> X-SW-Source: 1999-01n/msg01080.html Message-ID: <19990131235800.6g-j0ima0XVsXFMtHZk8NDmOt3iH5onIFRgODDeS2JY@z> This small patch: - removes the dependency on gnu-make features of the Makefile, - makes it available to your average paranoid sys-admin who doesn't have . in his PATH. There may be some other problems, I have been too busy with other funny egcs things to run the benchmark to completion yet, but thanks ! Index: benchmarks/Makefile =================================================================== RCS file: /egcs/carton/cvsfiles/benchmarks/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 1999/01/27 12:06:50 1.12 +++ Makefile 1999/01/28 13:48:02 @@ -40,8 +40,9 @@ mhz: lib/mhz lib/mhz >mhz -lib/mhz: lib/mhz.c lib/lib_timing.c lib/lib_stats.c - $(CC) -O -o $@ $^ -lm +MHZ=lib/mhz.c lib/lib_timing.c lib/lib_stats.c +lib/mhz: ${MHZ} + $(CC) -O -o $@ ${MHZ} -lm bench.a: bench.o $(AR) r $@ $? Index: benchmarks/runbench =================================================================== RCS file: /egcs/carton/cvsfiles/benchmarks/runbench,v retrieving revision 1.9 diff -u -r1.9 runbench --- runbench 1999/01/27 12:06:55 1.9 +++ runbench 1999/01/28 13:48:02 @@ -12,7 +12,7 @@ VERSION=0.9.2 -. benchlib.sh +. ./benchlib.sh # make this default the same as in the Makefile TIME=5 @@ -64,7 +64,7 @@ done init_bench -. bench.def +. ./bench.def end_bench