mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 14:58:01 +00:00
build+config: add configuration.{c,h} to Makefile.am, change table definitions to pointers.
WIP.
This commit is contained in:
parent
842fbcce35
commit
82173bafa6
@ -32,6 +32,7 @@ sgminer_CPPFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
sgminer_SOURCES := miner.c miner.h
|
||||
sgminer_SOURCES += configuration.c configuration.h
|
||||
sgminer_SOURCES += api.c
|
||||
sgminer_SOURCES += elist.h compat.h
|
||||
sgminer_SOURCES += util.c util.h uthash.h
|
||||
|
@ -147,7 +147,7 @@ char *set_quota(char *arg);
|
||||
|
||||
char *enable_debug(bool *flag);
|
||||
|
||||
struct opt_table opt_config_table[];
|
||||
struct opt_table opt_cmdline_table[];
|
||||
struct opt_table *opt_config_table;
|
||||
struct opt_table *opt_cmdline_table;
|
||||
|
||||
#endif /* CONFIGURATION_H */
|
||||
|
Loading…
Reference in New Issue
Block a user