Skip to main content
added 32 characters in body
Source Link
q9f
  • 33k
  • 47
  • 157
  • 399

Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.


MAKEFILE for QTMiner.

Very simple makefile to get it to build the qtminer executable

CC = g++ CFLAGS = -Wall -g INCLUDES = -I/usr/local/include LFLAGS = -L/usr/local/lib LIBS = -lethashseal -lethereum

all: qtminer

qtminer: qtminer.o main.o $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

qtminer.o: qtminer.cpp qtminer.h $(CC) $(CFLAGS) -c qtminer.cpp

main.o: main.c $(CC) $(CFLAGS) -c main.c

clean: $(RM) count *.o *~

# MAKEFILE for QTMiner.
# Very simple makefile to get it to build the qtminer executable

CC = g++
CFLAGS = -Wall -g
INCLUDES = -I/usr/local/include
LFLAGS = -L/usr/local/lib
LIBS = -lethashseal -lethereum

all: qtminer

qtminer:  qtminer.o main.o
  $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

qtminer.o:  qtminer.cpp qtminer.h 
  $(CC) $(CFLAGS) -c qtminer.cpp

main.o:  main.c
  $(CC) $(CFLAGS) -c main.c

clean: 
  $(RM) count *.o *~

Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.


MAKEFILE for QTMiner.

Very simple makefile to get it to build the qtminer executable

CC = g++ CFLAGS = -Wall -g INCLUDES = -I/usr/local/include LFLAGS = -L/usr/local/lib LIBS = -lethashseal -lethereum

all: qtminer

qtminer: qtminer.o main.o $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

qtminer.o: qtminer.cpp qtminer.h $(CC) $(CFLAGS) -c qtminer.cpp

main.o: main.c $(CC) $(CFLAGS) -c main.c

clean: $(RM) count *.o *~

Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.

# MAKEFILE for QTMiner.
# Very simple makefile to get it to build the qtminer executable

CC = g++
CFLAGS = -Wall -g
INCLUDES = -I/usr/local/include
LFLAGS = -L/usr/local/lib
LIBS = -lethashseal -lethereum

all: qtminer

qtminer:  qtminer.o main.o
  $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

qtminer.o:  qtminer.cpp qtminer.h 
  $(CC) $(CFLAGS) -c qtminer.cpp

main.o:  main.c
  $(CC) $(CFLAGS) -c main.c

clean: 
  $(RM) count *.o *~
deleted 450 characters in body
Source Link

Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.


MAKEFILE for QTMiner.

#Very simple makefile to get it to build the qtminer executable

Macros for compiler, flags, and libraries -Very simple makefile to get it to build the usual.

qtminer executable

CC = g++ CFLAGS = -Wall -g INCLUDES = -I/usr/local/include LFLAGS = -L/usr/local/lib LIBS = -lethashseal -lethereum

defaultall: qtminer

To create the executable file count we need the object files:

qtminer: qtminer.o main.o $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

To create the object file qtminer.o, we need the source files

qtminer.c and qtminer.h:

 

qtminer.o: qtminer.cpp qtminer.h $(CC) $(CFLAGS) -c qtminer.cpp

To create the object file main.o, we need the source files

main.c:

main.o: main.c $(CC) $(CFLAGS) -c main.c

To start over from scratch, type 'make clean'. This

removes the executable file, as well as old .o object

files and *~ backup files:

clean: $(RM) count *.o *~

Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.


MAKEFILE for QTMiner.

#Very simple makefile to get it to build the qtminer executable

Macros for compiler, flags, and libraries - the usual.

CC = g++ CFLAGS = -Wall -g INCLUDES = -I/usr/local/include LFLAGS = -L/usr/local/lib LIBS = -lethashseal -lethereum

default: qtminer

To create the executable file count we need the object files:

qtminer: qtminer.o main.o $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

To create the object file qtminer.o, we need the source files

qtminer.c and qtminer.h:

 

qtminer.o: qtminer.cpp qtminer.h $(CC) $(CFLAGS) -c qtminer.cpp

To create the object file main.o, we need the source files

main.c:

main.o: main.c $(CC) $(CFLAGS) -c main.c

To start over from scratch, type 'make clean'. This

removes the executable file, as well as old .o object

files and *~ backup files:

clean: $(RM) count *.o *~

Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.


MAKEFILE for QTMiner.

Very simple makefile to get it to build the qtminer executable

CC = g++ CFLAGS = -Wall -g INCLUDES = -I/usr/local/include LFLAGS = -L/usr/local/lib LIBS = -lethashseal -lethereum

all: qtminer

qtminer: qtminer.o main.o $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

qtminer.o: qtminer.cpp qtminer.h $(CC) $(CFLAGS) -c qtminer.cpp

main.o: main.c $(CC) $(CFLAGS) -c main.c

clean: $(RM) count *.o *~

Source Link

Try the Makefile below. You may have to adjust your paths to reach your webthree-umbrella build targets, but this should get you started.


MAKEFILE for QTMiner.

#Very simple makefile to get it to build the qtminer executable

Macros for compiler, flags, and libraries - the usual.

CC = g++ CFLAGS = -Wall -g INCLUDES = -I/usr/local/include LFLAGS = -L/usr/local/lib LIBS = -lethashseal -lethereum

default: qtminer

To create the executable file count we need the object files:

qtminer: qtminer.o main.o $(CC) $(CFLAGS) $(INCLUDES) -o qtminer qtminer.o main.o $(LFLAGS) $(LIBS)

To create the object file qtminer.o, we need the source files

qtminer.c and qtminer.h:

qtminer.o: qtminer.cpp qtminer.h $(CC) $(CFLAGS) -c qtminer.cpp

To create the object file main.o, we need the source files

main.c:

main.o: main.c $(CC) $(CFLAGS) -c main.c

To start over from scratch, type 'make clean'. This

removes the executable file, as well as old .o object

files and *~ backup files:

clean: $(RM) count *.o *~