add compile command to api-example.c
diff --git a/api-example.c b/api-example.c
index ea5d645..13b8f2d 100755
--- a/api-example.c
+++ b/api-example.c
@@ -7,6 +7,10 @@
* any later version. See COPYING for more details.
*/
+/* Compile:
+ * gcc api-example.c -I compat/jansson -o cgminer-api
+ */
+
#include "config.h"
#include <stdio.h>