Index: trunk/Softwares/MiBench/src/c/benchmark.c
===================================================================
--- trunk/Softwares/MiBench/src/c/benchmark.c	(revision 118)
+++ trunk/Softwares/MiBench/src/c/benchmark.c	(revision 129)
@@ -9,6 +9,7 @@
 #endif
 
-  #define MiBench_small
-//#define MiBench_large
+#if !defined(MIBENCH_SMALL) && !defined(MIBENCH_LARGE)
+# error "MIBENCH_SMALL or MIBENCH_LARGE must be defined"
+#endif
 
 //-----[ automative ]-----------------------------
@@ -43,8 +44,8 @@
   printf("***** automative.basicmath - Begin *****\n");
 
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
   main_basicmath_small ();
 #endif
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
   main_basicmath_large ();
 #endif
@@ -56,5 +57,5 @@
 //                                                       [ run_automative_bitcount ]
 //=======================================================================================
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
 void main_bitcount_small (void)
 {
@@ -81,5 +82,5 @@
 #endif
 
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
 void main_bitcount_large (void)
 {
@@ -110,8 +111,8 @@
   printf("***** automative.bitcount - Begin *****\n");
   
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
   main_bitcount_small ();
 #endif
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
   main_bitcount_large ();
 #endif
@@ -123,5 +124,5 @@
 //                                                       [ run_automative_qsort ]
 //=======================================================================================
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
 void _main_qsort_small (void)
 {
@@ -150,5 +151,5 @@
 #endif
 
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
 void _main_qsort_large (void)
 {
@@ -181,8 +182,8 @@
   printf("***** automative.qsort - Begin *****\n");
   
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
   _main_qsort_small ();
 #endif
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
   _main_qsort_large ();
 #endif
@@ -194,5 +195,5 @@
 //                                                       [ run_automative_susan ]
 //=======================================================================================
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
 void main_susan_small (void)
 {
@@ -261,5 +262,5 @@
 #endif
 
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
 void main_susan_large (void)
 {
@@ -332,8 +333,8 @@
   printf("***** automative.susan - Begin *****\n");
   
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
   main_susan_small ();
 #endif
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
   main_susan_large ();
 #endif
@@ -346,5 +347,5 @@
 //=======================================================================================
 
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
 void main_dijkstra_small (void)
 {
@@ -379,5 +380,5 @@
 
 
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
 void main_dijkstra_large (void)
 {
@@ -415,8 +416,8 @@
   printf("***** network.dijkstra - Begin *****\n");
   
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
   main_dijkstra_small ();
 #endif
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
   main_dijkstra_large ();
 #endif
@@ -432,8 +433,8 @@
   printf("***** office.stringsearch - Begin *****\n");
 
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
   main_stringsearch_small ();
 #endif
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
   main_stringsearch_large ();
 #endif
@@ -445,5 +446,5 @@
 //                                                       [ run_security_sha ]
 //=======================================================================================
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
 void main_sha_small (void)
 {
@@ -472,5 +473,5 @@
 #endif
 
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
 void main_sha_large (void)
 {
@@ -503,8 +504,8 @@
   printf("***** security.sha - Begin *****\n");
   
-#ifdef MiBench_small
+#ifdef MIBENCH_SMALL
   main_sha_small ();
 #endif
-#ifdef MiBench_large
+#ifdef MIBENCH_LARGE
   main_sha_large ();
 #endif
