Browse Source

Merge branch 'rpc_cli' into bfgminer

Luke Dashjr 13 years ago
parent
commit
dc7157fafc
2 changed files with 3 additions and 5 deletions
  1. 3 0
      Makefile.am
  2. 0 5
      api-example.c

+ 3 - 0
Makefile.am

@@ -124,3 +124,6 @@ bfgminer_SOURCES += driver-ztex.c libztex.c libztex.h
 bitstreamsdir = $(bindir)/bitstreams
 dist_bitstreams_DATA = bitstreams/*
 endif
+
+bin_PROGRAMS += bfgminer-rpc
+bfgminer_rpc_SOURCES = api-example.c

+ 0 - 5
api-example.c

@@ -7,10 +7,6 @@
  * any later version.  See COPYING for more details.
  */
 
-/* Compile:
- *   gcc api-example.c -o bfgminer-api
- */
-
 #include "config.h"
 
 #include <stdio.h>
@@ -23,7 +19,6 @@
 #include <sys/types.h>
 
 #include "compat.h"
-#include "miner.h"
 
 #if defined(unix)
 	#include <errno.h>