Add: add makefile for QueryGenerator.cpp

This commit is contained in:
ZongyueQin 2018-08-09 14:34:52 +08:00
parent b921f777fb
commit cdbe1be33b
2 changed files with 3 additions and 1 deletions

View File

@ -169,7 +169,7 @@ main(int argc, char **argv)
num = atoi(optarg); num = atoi(optarg);
break; break;
default: default:
printf("Note: MyBenchmark only support query!!!") printf("Note: MyBenchmark only support query!!!");
printf("You input option %c\n", opt); printf("You input option %c\n", opt);
printf("Valid options include:\n"); printf("Valid options include:\n");
printf("-r percentage of reading operations(int)\n"); printf("-r percentage of reading operations(int)\n");

View File

@ -0,0 +1,2 @@
QueryGenerator: QueryGenerator.cpp
c++ QueryGenerator.cpp -o QueryGenerator