Also, 'clean' should not fail if some files are missing, so prefix every rm call with a '-'. ---------------------- so is that doing
rm - $(PRO_MACHINE_TYPE)/utilities.o ? I relocate this clean part to the end of the program then call make, I get not good response --------------------------- # make cc -O -c config.c -o/config.o config.c:13:20: error: stdlib.h: No such file or directory config.c:14:19: error: stdio.h: No such file or directory config.c:15:20: error: string.h: No such file or directory config.c:17: error: syntax error before '*' token config.c: In function 'usage': config.c:23: warning: incompatible implicit declaration of built-in function 'fprintf' config.c:23: error: 'stderr' undeclared (first use in this function) config.c:23: error: (Each undeclared identifier is reported only once config.c:23: error: for each function it appears in.) config.c:24: warning: incompatible implicit declaration of built-in function 'exit' config.c: In function 'main': config.c:30: error: 'NULL' undeclared (first use in this function) config.c:32: error: 'FILE' undeclared (first use in this function) config.c:32: error: 'config_file' undeclared (first use in this function) config.c:55: warning: incompatible implicit declaration of built-in function 'fprintf' config.c:55: error: 'stderr' undeclared (first use in this function) config.c:56: warning: incompatible implicit declaration of built-in function 'exit' config.c:60: error: 'stdout' undeclared (first use in this function) config.c:29: warning: return type of 'main' is not 'int' make: *** [/config.o] Error 1 -------------------------------------- I am in linux ubuntu kernel 2.6.12-9 prerelease gcc4.02 this is a benchmark test program from http://www.spec.org/gpc/downloadindex.html please help again, charles _______________________________________________ Help-gplusplus mailing list Help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus